Duplicate Key Violates Unique Contraint when Updating a table

From: "carter ck" <carterck32(at)hotmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Duplicate Key Violates Unique Contraint when Updating a table
Date: 2007-06-24 08:55:07
Message-ID: BAY101-F213C75CFEF7B8CB8854C28D5150@phx.gbl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi all,

I am experiencing thgis problem since this morning. I seldom heard about
unique key constraint violation to happen when updating a table.

It happens to 1 or few records at early stage, but then to all.

My updating command is as following:

update mytable set my_status='Y' where myid='ABC123567778';

Can anyone help? All helps and solutions are appreciated.

THanks.

CK

_________________________________________________________________
Check it out! Windows Live Spaces is here! http://spaces.live.com/?mkt=en-sg
Its easy to create your own personal Web site.

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Martijn van Oosterhout 2007-06-24 09:42:32 Re: 8.2 contrib. "Full Disjunction"
Previous Message Steve Atkins 2007-06-24 04:04:54 Re: dynamic table/col names in plpgsql