Re: My database hurts "ERROR: duplicate key violates unique constraint"

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Mike Hunter <mhunter(at)ack(dot)Berkeley(dot)EDU>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: My database hurts "ERROR: duplicate key violates unique constraint"
Date: 2004-05-07 15:11:08
Message-ID: 5041.1083942668@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Mike Hunter <mhunter(at)ack(dot)Berkeley(dot)EDU> writes:
> After a recent power failure, a program that uses a pgsql backend
> (netdisco) started to send me nastygrams.

Hmm. Try REINDEX on the index involved.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Shachar Shemesh 2004-05-07 15:29:23 Re: How can I do conditional 'drop table' in Postgres
Previous Message Tom Lane 2004-05-07 15:09:36 Re: Interpreting vacuum verbosity