On Tue, Feb 26, 2008 at 2:36 PM, Brad Nicholson
<[EMAIL PROTECTED]> wrote:
> On Tue, 2008-02-26 at 15:19 -0500, Kynn Jones wrote:
>  >
>  > Is there a simple way to copy a table from one database to another
>  > without generating an intermediate dump file?
>  >
>
>  pg_dump -t <table name> <source DB> | psql -d <target DB>

Starting around 8.2 you can have > 1 -t switch, and grab a table or a
wildcarded set of tables with each one.

---------------------------(end of broadcast)---------------------------
TIP 2: Don't 'kill -9' the postmaster

Reply via email to