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

Re: pg_dump, pg_restore, insert vs copy

From: "Lee Wu" <Lwu(at)mxlogic(dot)com>
To: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: <pgsql-admin(at)postgresql(dot)org>
Subject: Re: pg_dump, pg_restore, insert vs copy
Date: 2005-03-24 16:35:43
Message-ID: ECAB83AA52BCC043A0E24BBC00001024D2E6BE@mxhq-exch.corp.mxlogic.com (view raw or flat)
Thread:
Lists: pgsql-admin
I believe you're right.

Any easy way to find out if -d was used if dump is done someone else?

Thanks,

-----Original Message-----
From: Tom Lane [mailto:tgl(at)sss(dot)pgh(dot)pa(dot)us] 
Sent: Thursday, March 24, 2005 9:11 AM
To: Lee Wu
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: [ADMIN] pg_dump, pg_restore, insert vs copy 

"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

Responses

pgsql-admin by date

Next:From: Alvaro HerreraDate: 2005-03-24 16:44:33
Subject: Re: pg_dump, pg_restore, insert vs copy
Previous:From: Tom LaneDate: 2005-03-24 16:10:43
Subject: Re: pg_dump, pg_restore, insert vs copy

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