On Tue, Jul 26, 2011 at 3:48 PM, Michael Nolan <htfoot(at)gmail(dot)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