Error code when trying to insert non-unique value

From: Jonas Bengtsson <jonas(dot)b(at)home(dot)se>
To: pgsql-general(at)postgresql(dot)org
Subject: Error code when trying to insert non-unique value
Date: 2001-03-23 12:32:41
Message-ID: 985350761.138jonas.b@home.se
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hello,
How can I check if the error that has occurred during an
insert is because the inserted value is not unique when
there are a unique error. I'm using PHP.

Thanks in advance,
Jonas Bengtsson

Browse pgsql-general by date

  From Date Subject
Next Message Gyan 2001-03-23 14:21:24 query problem
Previous Message hiroko 2001-03-23 12:08:11 Fw: about creating DB