title: Postgres 9.2 select star into an array
body: <p>I want to do something like this inside a stored procedure so I can see the result of an insert statement for debugging:</p>
  
  <pre><code>thing := array_to_string(ARRAY(select * from some_table limit 1 ));
  raise info 'insert result: %',thing;
  </code></pre>
  
  <p>Where all the columns of some_table get concatenated into an array</p>
  
  <p>Is there a way to do this?</p>