Cannot insert a duplicate key into unique index? - Mailing list pgsql-novice

From Brian Johnson
Subject Cannot insert a duplicate key into unique index?
Date
Msg-id 20030716.1nE.51550700@192.168.0.1
Whole thread Raw
List pgsql-novice
I keep getting this error from a complex, multi-table php app

postgres[4513]: [4] ERROR:  Cannot insert a duplicate key into unique index
lang_pkey

To help me find the problem, is there a way to get logging to show what table the
error is caused by or what SQL code is causing it?


Also, from researching this problem on the internet, it look slike the unique index
would normally have three segments table_field_key .. any idea why this one is
listed differently?


pgsql-novice by date:

Previous
From: ttzhang
Date:
Subject: Select Statement Hang...
Next
From: Alejandro Fuentes
Date:
Subject: I´ve got problems when I try to use de psql