>> Owned by: public.accounts.id This is not owner but table this sequence depends on. See http://stackoverflow.com/questions/6941043/get-table-and-column-owning-a-sequence Use query provided on SO to get real owner Ilya Kazakevich JetBrains The Drive to Develop From: pgsql-general-owner@xxxxxxxxxxxxxx [mailto:pgsql-general-owner@xxxxxxxxxxxxxx] On Behalf Of Patrick B Hi guys, I'm running a pg_dump and then importing the dump into a test server. I'm using PostgreSQL 9.5. pg_dump:
Steps into the new database (test1):
What do I have to do? Should I revoke the permissions on the prod1 database before performing the dump? Cheers; Patrick |