Re: pg_restore

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pg_restore
Дата
Msg-id 21690.1150562331@sss.pgh.pa.us
обсуждение исходный текст
Ответ на pg_restore  (Infor Gates <info_gates@yahoo.com>)
Ответы Re: pg_restore  (Infor Gates <info_gates@yahoo.com>)
Список pgsql-admin
Infor Gates <info_gates@yahoo.com> writes:
> I hope you could help me understand the error message below:
> While it looks straight forward, I could NOT find the duplicate key violation,

Considering that it's complaining at the very first line of COPY data,
I wonder whether you aren't restoring into a table that already contains
the data you want to load.  pg_restore doesn't (by default) try to
delete data that's already present.

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: pg_dump: COPY vs INSERT
Следующее
От: Infor Gates
Дата:
Сообщение: Re: pg_restore