Re: Suggested enhancement to pg_restore - Mailing list pgsql-general

From Chris Travers
Subject Re: Suggested enhancement to pg_restore
Date
Msg-id CAKt_Zft9B0nXDXqCr9KAOfL5iCTPHydgdRjNyL09kWxZiCA2wQ@mail.gmail.com
Whole thread Raw
In response to Suggested enhancement to pg_restore  (Michael Nolan <htfoot@gmail.com>)
Responses Re: Suggested enhancement to pg_restore
List pgsql-general
On Tue, Jul 26, 2011 at 3:48 PM, Michael Nolan <htfoot@gmail.com> wrote:
> I suggest adding the following parameter to pg_restore:
>
> --rename-table=XXXX
>
> When used in conjunction with the --data-only, --schema and -t options (all
> three of which would be necessary),
> it would allow restoring a table (without indexes) to a different table name
> (which would need to already exist
> and match the structure of the table which is being restored, of course.)

Does pg_restore allow you to specify a set of tables the same way
pg_dump does, i.e. by -t table1 -t table2?

If so how would this feature play along?

Best Wishes,
Chris Travers

pgsql-general by date:

Previous
From: Greg Smith
Date:
Subject: Re: 100 times faster than mysql
Next
From: Chris Travers
Date:
Subject: Re: 100 times faster than mysql