Re: Duplicate Key violation on dump&reload using pg_restore

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Markus Wollny" <Markus(dot)Wollny(at)computec(dot)de>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Duplicate Key violation on dump&reload using pg_restore
Date: 2008-04-04 23:09:33
Message-ID: 9782.1207350573@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Markus Wollny" <Markus(dot)Wollny(at)computec(dot)de> writes:
> I'm currently trying to migrate one of our databases from PostgreSQL 8.2.4 to PostgreSQL 8.3.1. I have worked around the Tsearch2 migration (we used the contrib module) without too much hassle, but find myself stuck at an unexpected point - I get a duplicate key violation for the primary key on one of my tables:

Maybe there actually is a duplicate key in the source DB --- have you
checked? There were some bugs in early 8.2.x releases that could
possibly allow that to happen.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Markus Wollny 2008-04-04 23:11:50 Re: Duplicate Key violation on dump&reload using pg_restore
Previous Message Markus Wollny 2008-04-04 23:05:57 Re: Duplicate Key violation on dump&reload using pg_restore