Re: how to use pg_dump to dump tables whose owner is me - Mailing list pgsql-general

From Scott Marlowe
Subject Re: how to use pg_dump to dump tables whose owner is me
Date
Msg-id dcc563d10903031437q2bc6ff72kd26cf77124b46034@mail.gmail.com
Whole thread Raw
In response to Re: how to use pg_dump to dump tables whose owner is me  (Roger Chen <roger.edchen@gmail.com>)
List pgsql-general
I'd put them all into the same schema and dump that.

pg_dump -n schemaname

On Tue, Mar 3, 2009 at 8:30 AM, Roger Chen <roger.edchen@gmail.com> wrote:
> Thanks. If there are many tables owned by me and some other users, are
> there any easy ways to do that?
>
> On Mon, Mar 2, 2009 at 9:23 PM, Scott Marlowe <scott.marlowe@gmail.com> wrote:
>> On Mon, Mar 2, 2009 at 5:31 PM, Roger Chen <roger.edchen@gmail.com> wrote:
>>> Hi,
>>> Can anyone tell me how to do that? I could find that in man page of
>>> pg_dump. Thanks.
>>
>> pg_dump -t table1 -t table2
>>
>> ?
>>
>



--
When fascism comes to America, it will be the intolerant selling it as
diversity.

pgsql-general by date:

Previous
From: Scott Marlowe
Date:
Subject: Re: PostgreSQL clustering with DRBD
Next
From: Erik Jones
Date:
Subject: Re: postgreSQL & amazon ec2 cloud