title: How to export table as CSV with headings on Postgresql?
body: <p>I'm trying to export a PostgreSQL table with headings to a CSV file via command line, however I get it to export to CSV file, but without headings. </p>
  
  <p>My code looks as follows:</p>
  
  <pre><code>COPY products_273 to '/tmp/products_199.csv' delimiters',';
  </code></pre>