Re: pgsql: Add --section option to pg_dump and pg_restore.

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Thom Brown <thom(at)linux(dot)com>
Cc: pgsql-committers(at)postgresql(dot)org
Subject: Re: pgsql: Add --section option to pg_dump and pg_restore.
Date: 2011-12-17 02:32:09
Message-ID: 4EEBFF29.30502@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

On 12/16/2011 07:57 PM, Thom Brown wrote:
> On 17 December 2011 00:17, Andrew Dunstan<andrew(at)dunslane(dot)net> wrote:
>> Add --section option to pg_dump and pg_restore.
>>
>> Valid values are --pre-data, data and post-data. The option can be
>> given more than once. --schema-only is equivalent to
>> --section=pre-data --section=post-data. --data-only is equivalent
>> to --section=data.
> "Post-data items consist of definitions of indexes, triggers, rules
> and constraints other than check constraints."
>
> What about NOT VALID check constraints? Those are required to be post-data.
>

Hmm, yeah. Are they the only ones?

cheers

andrew

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message User Fxjr 2011-12-17 02:36:20 npgsql - Npgsql2: Fixed bug [#1011101] LINQ to entities timestamptz
Previous Message User Fxjr 2011-12-17 02:01:07 npgsql - Npgsql2: Added testcase for bug #1011100