Re: pg_restore should accept multiple -t switches?

From: Dimitri Fontaine <dfontaine(at)hi-media(dot)com>
To: Fujii Masao <masao(dot)fujii(at)gmail(dot)com>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: pg_restore should accept multiple -t switches?
Date: 2010-08-10 19:45:16
Message-ID: m2d3tqz1yr.fsf@hi-media.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Fujii Masao <masao(dot)fujii(at)gmail(dot)com> writes:
> pg_dump allows us to select multiple target tables by using
> multiple -t switches, but pg_restore does not. So, when
> restoring multiple tables, we have to run pg_restore more
> than once as follows. This is a pain to me.

Use the list facilities, options -l and -L.

> Is it worth allowing pg_restore to accept multiple -t
> switches as well as pg_dump?

I don't think so.

Regards,
--
dim

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Gordon Shannon 2010-08-10 20:08:50 Re: Surprising dead_tuple_count from pgstattuple
Previous Message Kevin Grittner 2010-08-10 19:25:30 Re: Session timeout on commitfest.postgresql.org