Re: [HACKERS] pg_restore should accept multiple -t switches?

2010-08-13 Thread Dimitri Fontaine
Fujii Masao masao.fu...@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

[HACKERS] pg_restore should accept multiple -t switches?

2010-08-10 Thread Fujii Masao
Hi, 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. $ pg_restore -t tbl1 db.dump $ pg_restore -t tbl2 db.dump Is it

Re: [HACKERS] pg_restore should accept multiple -t switches?

2010-08-10 Thread David Fetter
On Tue, Aug 10, 2010 at 05:13:22PM +0900, Fujii Masao wrote: Hi, 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. $

Re: [HACKERS] pg_restore should accept multiple -t switches?

2010-08-10 Thread Erik Rijkers
On Tue, August 10, 2010 13:18, David Fetter wrote: On Tue, Aug 10, 2010 at 05:13:22PM +0900, Fujii Masao wrote: Is it worth allowing pg_restore to accept multiple -t switches as well as pg_dump? $ pg_restore -t tbl1 -t tbl2 db.dump Regards, Yes. :) What other functionality in

Re: [HACKERS] pg_restore should accept multiple -t switches?

2010-08-10 Thread Tom Lane
Fujii Masao masao.fu...@gmail.com writes: Is it worth allowing pg_restore to accept multiple -t switches as well as pg_dump? It's on the TODO list already, no? regards, tom lane -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to

Re: [HACKERS] pg_restore should accept multiple -t switches?

2010-08-10 Thread Fujii Masao
On Tue, Aug 10, 2010 at 11:00 PM, Tom Lane t...@sss.pgh.pa.us wrote: Fujii Masao masao.fu...@gmail.com writes: Is it worth allowing pg_restore to accept multiple -t switches as well as pg_dump? It's on the TODO list already, no? Thanks! I found it on the list and understood there are other