Sample Header Ad - 728x90

batch script to get all the tables in postgres database as csv

0 votes
1 answer
282 views
I have a remote postgresql database with a lot of schemas. I want to dump the tables that is specific schema as .CSV file for each table. I'm aware of the COPY command but I'm not sure how to write a batch script that will execute the COPY command.
Asked by new_developer (1 rep)
Oct 14, 2023, 03:38 PM
Last activity: May 17, 2025, 08:02 AM