Re: Problems with pg_dump and -t wildcards - Mailing list pgsql-general

From Bill Thoen
Subject Re: Problems with pg_dump and -t wildcards
Date
Msg-id 488A2FC5.4080100@gisnet.com
Whole thread Raw
In response to Re: Problems with pg_dump and -t wildcards  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
Ah ha! I'm reading the wrong docs. Duh...
I guess it's upgrade time!
Thank you.

Tom Lane wrote:
> "Joshua D. Drake" <jd@commandprompt.com> writes:
>
>> On Fri, 2008-07-25 at 11:36 -0600, Bill Thoen wrote:
>>
>>> I'm having some problems with pg_dump and the -t switch. I can't get it
>>> to work using wildcards nor with multiple -t switches. I'm using
>>> PostgreSQL 8.1.5 and trying to dump just a table and its associated
>>> sequence.
>>>
>
>
>> That is because it doesn't work like that. IIRC you can dump exactly one
>> table with the -t switch.
>>
>
> -t does take a wildcard pattern ... in 8.2 and later.  I don't believe
> 8.1 handled more than one -t switch, either.
>
>             regards, tom lane
>
>


pgsql-general by date:

Previous
From: "Leif B. Kristensen"
Date:
Subject: Re: php + postgresql
Next
From: "Rodrigo E. De León Plicet"
Date:
Subject: Re: Data base tables design questions for: user saved forms, user parameters