Last active
December 3, 2018 03:01
-
-
Save moki9/f7d2e6f5ee7af02f608912e5b8913ed4 to your computer and use it in GitHub Desktop.
postgres - dump table data - insert only
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
pg_dump -U user --column-inserts --data-only --table=table_name > table_name.sql |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment