pg_restore

From: Infor Gates <info_gates(at)yahoo(dot)com>
To: pgsql-admin(at)postgresql(dot)org
Subject: pg_restore
Date: 2006-06-16 02:37:57
Message-ID: 20060616023757.97224.qmail@web31114.mail.mud.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Colton A Smith 2006-06-16 12:12:03 pg_dump: COPY vs INSERT
Previous Message Patricia Megumi Matsumoto 2006-06-16 02:31:57 unsubscribe pgsql-admin