pg_restore - Mailing list pgsql-admin

From Infor Gates
Subject pg_restore
Date
Msg-id 20060616023757.97224.qmail@web31114.mail.mud.yahoo.com
Whole thread Raw
Responses Re: pg_restore  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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 by date:

Previous
From: "Rojas, Fernando \(CIAT\)"
Date:
Subject: FW: Error starting backend
Next
From: Colton A Smith
Date:
Subject: pg_dump: COPY vs INSERT