Re: pg_dump -s dumps data?! - Mailing list pgsql-general
From | hubert depesz lubaczewski |
---|---|
Subject | Re: pg_dump -s dumps data?! |
Date | |
Msg-id | 20120128092922.GA752@depesz.com Whole thread Raw |
In response to | Re: pg_dump -s dumps data?! (Adrian Klaver <adrian.klaver@gmail.com>) |
Responses |
Re: pg_dump -s dumps data?!
Re: pg_dump -s dumps data?! Re: pg_dump -s dumps data?! Re: pg_dump -s dumps data?! Re: pg_dump -s dumps data?! Re: pg_dump -s dumps data?! |
List | pgsql-general |
On Fri, Jan 27, 2012 at 03:11:32PM -0800, Adrian Klaver wrote: > Not sure that it makes a difference, but on the chance it does, what > are the options and are they the same for all machines? $ pg_config --configure '--prefix=/opt/pgbrew/9.1.2' '--with-pgport=5910' '--enable-debug' '--with-perl' '--enable-integer-datetimes' '--enable-thread-safety' '--without-krb5' '--without-pam' '--without-bonjour' '--with-openssl' '--with-readline' '--with-libxml' '--with-zlib' and yes - the same on all machines. but the databases are not the same - so i'm more inclined to think that it's something wrong (or mistaken) on the db level. > I am not going to much help here, as I am still learning the > extension mechanism. For the sake of others that might have a clue, > what are the extensions involved? > Also, are all the tables having their data dumped or only those that > relate to extensions? this is custom extension - basically it's application database loaded as extension. aside from normal pg_catalog and information_schema, this database has two schemata: o and f (names changed to protect the guilty). o schema has 1 table. f schema has 7 tables. pg_dump -s dumps *data* for 6 tables from f schema. not all of them?! \dx+ fextension shows all 7 tables from f schema. *but* select * from pg_extension ; in extconfig column lists 6 oids. and these are oids of tables that got dumped with data?! is it by design that tables listed there (in extconfig column of pg_extension) will be dumped with data, even for pg_dump --schema? (i didn't make the extension, and up to yesterday I wasn't aware that they used extensions to load schema to these databases). Best regards, depesz -- The best thing about modern society is how easy it is to avoid contact with it. http://depesz.com/ -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general
pgsql-general by date: