title: How to hide result set decoration in Psql output
body: <p>How do you hide the column names and row count in the output from psql?</p>
  
  <p>I'm running a SQL query via psql with:</p>
  
  <pre><code>psql --user=myuser -d mydb --output=result.txt -c "SELECT * FROM mytable;"
  </code></pre>
  
  <p>and I'm expecting output like:</p>
  
  <pre><code>1,abc
  2,def
  3,xyz
  </code></pre>
  
  <p>but instead I get:</p>
  
  <pre><code>id,text
  -------
  1,abc
  2,def
  3,xyz
  (3 rows)
  </code></pre>
  
  <p>Of course, it's not impossible to filter the top two rows and bottom row out after the fact, but it there a way to do it with only psql? Reading over its manpage, I see options for controlling the field delimiter, but nothing for hiding extraneous output.</p>