Kopieren Sie die Tabelle von SQL nach CSV
Copy (Select * From foo) To '/tmp/test.csv' With CSV DELIMITER ',' HEADER;
Famous Flamingo
Copy (Select * From foo) To '/tmp/test.csv' With CSV DELIMITER ',' HEADER;