How can I export a table to .csv in Postgres, when I\'m not superuser and can\'t use the copy command?
.csv
copy
I can still import the data to postgres
Use psql and redirect stream to file:
psql -U -d -c "COPY TO stdout DELIMITER ',' CSV HEADER;" > file.csv