Created
September 22, 2015 09:36
-
-
Save buithehoa/edf36e6137f35de4ab34 to your computer and use it in GitHub Desktop.
Save PostgreSQL output to CSV
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
COPY (SELECT * FROM foo) T0 '/tmp/foo.csv' WITH CSV; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment