Copy from psql - micklinISgood/DealNear GitHub Wiki
psql -U <User> postgres -h 104.196.175.120Download table to current client location
postgres=> \copy <table_name> TO '<file_name>.csv' DELIMITER ',' CSV HEADER;psql -U <User> postgres -h 104.196.175.120Download table to current client location
postgres=> \copy <table_name> TO '<file_name>.csv' DELIMITER ',' CSV HEADER;