title: PostgreSQL row to string
body: <p>I have a result from a query like the below, which does not have a fixed number of columns</p>
  
  <pre><code>ID  COL1    COL2    COL3    COL4
  -------------------------------------
  1   VAL11   VAL12   VAL13   VAL14
  2   VAL21   VAL22   VAL23   VAL24
  </code></pre>
  
  <p>Now I want the result to be something like this.</p>
  
  <pre><code>RESULT
  -----------------------------------------------------
  ID:1, COL1:VAL11, COL2:VAL12, COL3:VAL13, COL4:VAL14
  ID:2, COL1:VAL21, COL2:VAL22, COL3:VAL23, COL4:VAL24
  </code></pre>
  
  <p>Please help.</p>