Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-admin by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group