Re: pg_dump, pg_restore, insert vs copy

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Lee Wu" <Lwu(at)mxlogic(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: pg_dump, pg_restore, insert vs copy
Date: 2005-03-24 16:10:43
Message-ID: 27253.1111680643@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

"Lee Wu" <Lwu(at)mxlogic(dot)com> writes:
> MY OS command is:
> pg_restore -v -t mytable -d mydb -U postgres -R my.dmp

That doesn't prove a thing; the question is what you typed at pg_dump.

Thinking about it, I wonder if you did "pg_dump -d mydb ..."
-d means something different to pg_dump than pg_restore.

regards, tom lane

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Lee Wu 2005-03-24 16:35:43 Re: pg_dump, pg_restore, insert vs copy
Previous Message Lee Wu 2005-03-24 16:05:39 Re: pg_dump, pg_restore, insert vs copy