pg_restore

Поиск
Список
Период
Сортировка
От Infor Gates
Тема pg_restore
Дата
Msg-id 20060616023757.97224.qmail@web31114.mail.mud.yahoo.com
обсуждение исходный текст
Ответы Re: pg_restore  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-admin
Dear list

I hope you could help me understand the error message below:
While it looks straight forward, I could NOT find the duplicate key violation,
even though check through the said table (transaction by transaction). So,
I am wondering if the message would means something else.

I had tried re-indexing (force) and even modifying the primary key (manually) but
have not found any new clues.

I am using Postgresql 8.0.7 (Win32 binary version) and pgAdmin III for backup and restore.

Thank you.

CY

Error message:
--------------------
pg_restore: restoring data for table "bf_receipt"
pg_restore: ERROR:  duplicate key violates unique constraint "bf_receipt_pkey"
CONTEXT:  COPY bf_receipt, line 1: "2006/03/14 15:32:46.239           7    SUBANGJAYA              2005-10-15    evonne                                ..."
pg_restore: [archiver (db)] error returned by PQendcopy: ERROR:  duplicate key violates unique constraint "bf_receipt_pkey"
CONTEXT:  COPY bf_receipt, line 1: "2006/03/14 15:32:46.239           7    SUBANGJAYA              2005-10-15    evonne                                ..."
pg_restore: *** aborted because of error

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

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

Предыдущее
От: "Rojas, Fernando \(CIAT\)"
Дата:
Сообщение: FW: Error starting backend
Следующее
От: Colton A Smith
Дата:
Сообщение: pg_dump: COPY vs INSERT