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