Re: pg_dump -s dumps data?!

From: hubert depesz lubaczewski <depesz(at)depesz(dot)com>
To: Adrian Klaver <adrian(dot)klaver(at)gmail(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-general(at)postgresql(dot)org
Subject: Re: pg_dump -s dumps data?!
Date: 2012-01-30 16:25:54
Message-ID: 20120130162554.GB5153@depesz.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

On Mon, Jan 30, 2012 at 08:20:15AM -0800, Adrian Klaver wrote:
> I am not sure I understand crippled. There is a bug that you acknowledge has
> been dealt with. The rest is documented behavior having to do with extension
> packaging. Extensions exist as packages and are put into the database and pulled
> from the database as such, by the extension mechanism. Whether data is included
> in that process is up to the discretion of the extension creator. So on that
> particular point you probably need to talk to the folks that created the
> extension. The learning curve exists because now a db admin has to understand
> that the extension mechanism exists and the ways it interacts with the rest of
> the database.

crippled in this way:
it is not possible to have table from extension that will have its data
dumped in normal pg_dump (or pg_dump -a), and will *not* have its data
dumped when doing pg_dump -s or pg_dump -s -t other_table.

you either have data for extension-based-tables in *all* dumps
or
you don't have data for extension-based-tables in *any* dumps.

Best regards,

depesz

--
The best thing about modern society is how easy it is to avoid contact with it.
http://depesz.com/

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2012-01-30 16:30:51 Re: pg_dump -s dumps data?!
Previous Message hubert depesz lubaczewski 2012-01-30 16:24:06 Re: pg_dump -s dumps data?!

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2012-01-30 16:30:51 Re: pg_dump -s dumps data?!
Previous Message hubert depesz lubaczewski 2012-01-30 16:24:06 Re: pg_dump -s dumps data?!