Re: pg_dump: preserving oids in system tables? - Mailing list pgsql-admin

From David G. Johnston
Subject Re: pg_dump: preserving oids in system tables?
Date
Msg-id CAKFQuwZcYN8LYuO2Aw9gnF=wsMJWjOP7_CGJJu=x5KdoyCbQPQ@mail.gmail.com
Whole thread Raw
In response to pg_dump: preserving oids in system tables?  (Natalie Wenz <nataliewenz@gmail.com>)
List pgsql-admin
On Wed, May 6, 2015 at 11:11 AM, Natalie Wenz <nataliewenz@gmail.com> wrote:
Can someone confirm something for me? It seems that pg_dump with the -o option preserves OIDS for user objects, but does not preserve the OIDs for objects in system tables. Is that correct? 
​[...]​
 
The app has a table that associates a user (role) with a "department" by inserting a row into a table with the values 'usesysid' from pg_user and a department

"​pg_dump" doesn't ​dump roles.  They are global and handled via "pg_dumpall".


David J.

pgsql-admin by date:

Previous
From: Natalie Wenz
Date:
Subject: pg_dump: preserving oids in system tables?
Next
From: Mauricio Tavares
Date:
Subject: instalação do postgresql93-contrib.x86_64