Hi
I'm trying to export a PostgreSQL table with headings to a CSV file via commandline, however I get it to export to CSV file but without headings. I need those headings as well. My code looks as follows
COPY products_273 to '/tmp/products_199.csv' delimiters',';
Any help would highly be appreciated