Advertisement
Guest User

Untitled

a guest
Mar 20th, 2017
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.16 KB | None | 0 0
  1. $ pg_dump [prod_db] > tempfile
  2.  
  3. [Go through tempfile manually removing all 60ish references to the owner, named 'postgres']
  4.  
  5. $ cat tempfile > psql [local_db]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement