Export data from Postgres as CSV
Exporting data from Postgres as a CSV or tab delimited file can be fairly simple using the COPY command. Examples below. Export an entire table as CSV: psql -c "COPY…
0 Comments
January 25, 2021
Exporting data from Postgres as a CSV or tab delimited file can be fairly simple using the COPY command. Examples below. Export an entire table as CSV: psql -c "COPY…