From: | Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com> |
---|---|
To: | Roger Chen <roger(dot)edchen(at)gmail(dot)com> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: how to use pg_dump to dump tables whose owner is me |
Date: | 2009-03-03 22:37:59 |
Message-ID: | dcc563d10903031437q2bc6ff72kd26cf77124b46034@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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(dot)edchen(at)gmail(dot)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(dot)marlowe(at)gmail(dot)com> wrote:
>> On Mon, Mar 2, 2009 at 5:31 PM, Roger Chen <roger(dot)edchen(at)gmail(dot)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.
From | Date | Subject | |
---|---|---|---|
Next Message | Erik Jones | 2009-03-04 00:43:22 | Re: postgreSQL & amazon ec2 cloud |
Previous Message | Scott Marlowe | 2009-03-03 22:30:40 | Re: PostgreSQL clustering with DRBD |