title: Array to string conversion with delimiter pipe | in PostgreSQL
body: <p>I need to form a string from a given array.</p>
  
  <p>Suppose array[1] = gvk, array[2] = gvk1 and array[3] = gvk2, then I need to get these values into a string like:</p>
  
  <p>Mystring = gvk | gvk1 | gvk2</p>