Re: pg_restore should accept multiple -t switches? - Mailing list pgsql-hackers

From Dimitri Fontaine
Subject Re: pg_restore should accept multiple -t switches?
Date
Msg-id m2d3tqz1yr.fsf@hi-media.com
Whole thread Raw
In response to pg_restore should accept multiple -t switches?  (Fujii Masao <masao.fujii@gmail.com>)
List pgsql-hackers
Fujii Masao <masao.fujii@gmail.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


pgsql-hackers by date:

Previous
From: Joseph Adams
Date:
Subject: Re: patch: Add JSON datatype to PostgreSQL (GSoC, WIP)
Next
From: Robert Haas
Date:
Subject: Re: Develop item from TODO list