Export to csv from psql (postgres)
daniel Thu, 06/25/2015 - 4:57pm
You can use:COPY TABLE_NAME TO STDOUT WITH CSV HEADER
to push the output to a csv file.
- Log in to post comments
daniel Thu, 06/25/2015 - 4:57pm
You can use:COPY TABLE_NAME TO STDOUT WITH CSV HEADER
to push the output to a csv file.
daniel Fri, 07/01/2011 - 12:51pm
Copy and paste is a design error.
David Parnas