Dealing with dump files... #1674
Replies: 1 comment
-
Separate the query from the data. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Does anyone have a good method for dealing with data loads from dump files?
For the most part, reading sql is fine:
cs.copy_expert(sql=f.read(), file=f)
Save that pg_dump will want to load data from stdin...
Then the subsequent data import will fail syntax.
Beta Was this translation helpful? Give feedback.
All reactions