Skip site navigation (1) Skip section navigation (2)

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

From: Thom Brown <thom(at)linux(dot)com>
To: Andrew Dunstan <andrew(at)dunslane(dot)net>
Cc: pgsql-committers(at)postgresql(dot)org
Subject: Re: pgsql: Add --section option to pg_dump and pg_restore.
Date: 2011-12-17 00:57:59
Message-ID: CAA-aLv6aC8cvBO9dKoADiL_BePyYzE9foo3LrtWZ49QRGebBWA@mail.gmail.com (view raw or flat)
Thread:
Lists: pgsql-committers
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.

-- 
Thom

In response to

Responses

pgsql-committers by date

Next:From: User FxjrDate: 2011-12-17 01:58:43
Subject: npgsql - Npgsql2: Fixed a test which were leaking a datareader open.
Previous:From: Andrew DunstanDate: 2011-12-17 00:17:13
Subject: pgsql: Add --section option to pg_dump and pg_restore.

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group