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

From Fujii Masao
Subject pg_restore should accept multiple -t switches?
Date
Msg-id AANLkTikoJ1qZfyxHVh4xUEp0G92kCfXrevR3+ybtPseX@mail.gmail.com
Whole thread Raw
Responses Re: pg_restore should accept multiple -t switches?
Re: pg_restore should accept multiple -t switches?
Re: pg_restore should accept multiple -t switches?
List pgsql-hackers
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 worth allowing pg_restore to accept multiple -t
switches as well as pg_dump?
   $ pg_restore -t tbl1 -t tbl2 db.dump

Regards,

-- 
Fujii Masao
NIPPON TELEGRAPH AND TELEPHONE CORPORATION
NTT Open Source Software Center


pgsql-hackers by date:

Previous
From: Yeb Havinga
Date:
Subject: Re: Universal B-tree
Next
From: Alexander Korotkov
Date:
Subject: Re: knngist - 0.8