Skip site navigation (1) Skip section navigation (2)

problem on treatment when add a duplicate primary key

From: "Support" <support(at)insyde(dot)com(dot)br>
To: <pgsql-odbc(at)postgresql(dot)org>
Subject: problem on treatment when add a duplicate primary key
Date: 2003-02-03 13:20:46
Message-ID: 001b01c2cb87$11473ce0$e2faabc8@insyde (view raw, whole thread or download thread mbox)
Lists: pgsql-odbc
I'm getting an error when I try to insrt a duplicated value in
a primary key or unique index.
I know I can't insert so I'll explain the thing:

When I insert the first time the row, it works
but if I try to re-insert it simply crashes my application,
giving me errors that I couldn't treat (I can treat this error in
MSSQL ODBC Driver and MySQL ODBC Driver).

I'm attaching the logs.


Attachment: SQL.tar.bz2
Description: application/octet-stream (27.9 KB)

pgsql-odbc by date

Next:From: Ocke JanssenDate: 2003-02-03 13:57:10
Subject: OpenOffice and PostgreSQL: query with inner join
Previous:From: Tambet MatiisenDate: 2003-02-03 12:42:24
Subject: Re: psqlodbc.dll crash

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group