Re: Problems with pg_dump and -t wildcards

From: Bill Thoen <bthoen(at)gisnet(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Problems with pg_dump and -t wildcards
Date: 2008-07-25 19:55:49
Message-ID: 488A2FC5.4080100@gisnet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)commandprompt(dot)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
>
>

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Rodrigo E. De León Plicet 2008-07-25 19:57:50 Re: Data base tables design questions for: user saved forms, user parameters
Previous Message Leif B. Kristensen 2008-07-25 19:47:40 Re: php + postgresql