Re: pgdump - Mailing list pgsql-hackers

From Tom Lane
Subject Re: pgdump
Date
Msg-id 23582.1105942776@sss.pgh.pa.us
Whole thread Raw
In response to Re: pgdump  (Neil Conway <neilc@samurai.com>)
Responses Re: pgdump
List pgsql-hackers
Neil Conway <neilc@samurai.com> writes:
> So the behavior would be that suggested earlier by David Skoll:

>> pg_dump -t t1                          -- Dump table t1 in any schema
>> pg_dump -n s1                          -- Dump all of schema s1
>> pg_dump -t t1 -n s1                    -- Dump t1 in s1
>> pg_dump -t t1 -t t2 -n s1              -- Dump s1.t1 and s1.t2
>> pg_dump -t t1 -t t2 -n s1 -n s2        -- Dump s1.t1, s1.t2, s2.t1 and s2.t2

Well, that at least obeys the KISS principle ;-).  Sure, let's try that
and see if it satisfies people.

Just to be clear: what I understand the logic to be is "OR" across
multiple switches of the same type, but "AND" across switches of
two types.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: ARC patent
Next
From: Neil Conway
Date:
Subject: Re: pgdump