Re: pg_dump, pg_restore, insert vs copy

Поиск
Список
Период
Сортировка
От Lee Wu
Тема Re: pg_dump, pg_restore, insert vs copy
Дата
Msg-id ECAB83AA52BCC043A0E24BBC00001024D2E6BE@mxhq-exch.corp.mxlogic.com
обсуждение исходный текст
Ответ на pg_dump, pg_restore, insert vs copy  ("Lee Wu" <Lwu@mxlogic.com>)
Ответы Re: pg_dump, pg_restore, insert vs copy
Список 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@sss.pgh.pa.us]
Sent: Thursday, March 24, 2005 9:11 AM
To: Lee Wu
Cc: pgsql-admin@postgresql.org
Subject: Re: [ADMIN] pg_dump, pg_restore, insert vs copy

"Lee Wu" <Lwu@mxlogic.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

В списке pgsql-admin по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: pg_dump, pg_restore, insert vs copy
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: pg_dump, pg_restore, insert vs copy