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

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to