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 03:19:25 |
Message-ID: | 4EE02CBD.9090700@dunslane.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On 11/04/2011 10:21 AM, Robert Haas wrote:
>
>> A slightly updated patch is attached, the main change being that I removed
>> use of a short option and only support the long name option. "-D" didn't
>> seem sufficiently mnemonic to me. I'll add this to the November commitfest,
>> but I'd like to get it committed ASAP as it will simplify setting up the
>> -pre and -post data patches.
> Instead of:
>
> do NOT dump data for the named table(s)
>
> How about:
>
> dump only schema for the named table(s)
I have no great objection to the wording change.
> 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.
cheers
andrew
From | Date | Subject | |
---|---|---|---|
Next Message | Pavel Stehule | 2011-12-08 05:07:06 | Re: documentation issue - extensions |
Previous Message | Robert Haas | 2011-12-08 03:15:08 | Re: [v9.2] Fix Leaky View Problem |