Re: pg_dump --exclude-table-data

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Robert Haas <robertmhaas(at)gmail(dot)com>
Cc: Josh Berkus <josh(at)agliodbs(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: pg_dump --exclude-table-data
Date: 2011-12-08 16:36:09
Message-ID: 4EE0E779.8040301@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 12/08/2011 11:13 AM, Robert Haas wrote:
> On Wed, Dec 7, 2011 at 10:19 PM, Andrew Dunstan<andrew(at)dunslane(dot)net> wrote:
>>> I'm also a bit concerned about the relationship between this and the
>>> existing -s option. It seems odd that you use --schema-only to get
>>> the behavior database-wide, and --exclude-table-data to get it for
>>> just one table. Is there some way we can make that a bit more
>>> consistent?
>> It's consistent, and was designed to be, with the --exclude-table option.
>> I'm not sure what you want it to look like instead. But TBH I'm more
>> interested in getting the functionality than in how it's spelled.
> Ah, hmm. Well, maybe it's fine the way that you have it. But I'd be
> tempted to at least add a sentence to the sgml documentation for each
> option referring to the other, e.g. "To dump only schema for all
> tables in the database, see --schema-only." and "To exclude table data
> for only a subset of tables in the database, see
> --exclude-table-data.", or something along those lines.
>

Sure, no problem with that.

cheers

andrew

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrew Dunstan 2011-12-08 17:46:19 Re: [PATCH] PostgreSQL fails to build with 32bit MinGW-w64
Previous Message Robert Haas 2011-12-08 16:13:02 Re: pg_dump --exclude-table-data