Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ pg_dump [prod_db] > tempfile
- [Go through tempfile manually removing all 60ish references to the owner, named 'postgres']
- $ cat tempfile > psql [local_db]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement