Re: Application crash after error - Mailing list pgsql-odbc

From Ludek Finstrle
Subject Re: Application crash after error
Date
Msg-id 20051128194725.GA28107@soptik.pzkagis.cz
Whole thread Raw
In response to Application crash after error  ("Andrus" <eetasoft@online.ee>)
List pgsql-odbc
> I'm using 8.1.1 Unicode driver with Microsoft Visual FoxPro 9

What is FoxPro doing againist another SQL Server?
Has ANSI driver same behaviour?

> 1. I try to insert a row containing duplicate key
> 2. ODBC driver returns error message
> 3. After that FoxPro crashes with access violation error
>
> If error is not returned from ODBC driver to FoxPro, all is OK.
> This problem is reproducible always.

I don't understand well. Do you make changes in psqlodbc source code?
Or what exactly do you mean with "If error is not returned from ODBC
driver to FoxPro, all is OK."

> How to fix this ?

Good first step is posting mylog output form psqlodbc driver.
Don't you have some bad code after failing insert?

Luf

pgsql-odbc by date:

Previous
From: "Andrus"
Date:
Subject: Application crash after error
Next
From: Irina Sourikova
Date:
Subject: BLOB handling compatibility with PostgreSQL > 7.4