Re: Unique constraint violation on serial column

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Bill Chandler <billybobc1210(at)yahoo(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Unique constraint violation on serial column
Date: 2005-04-11 20:18:55
Message-ID: 7224.1113250735@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Bill Chandler <billybobc1210(at)yahoo(dot)com> writes:
> Client is getting the following error when attempting
> to do an insert on a table:

> ERROR: duplicate key violates unique constraint
> event_tbl_evt_id_key

What's the exact query (or queries) causing this? Do you have any
triggers or rules that might be affecting the table?

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Kristina Magwood 2005-04-11 20:23:26 pg_restore -d password athentication failed
Previous Message Bill Chandler 2005-04-11 18:03:41 Unique constraint violation on serial column