Error handling in ODBC

From: "Hiroshi Inoue" <Inoue(at)tpf(dot)co(dot)jp>
To: "Zoltan Kovacs" <tip(at)pc10(dot)radnoti-szeged(dot)sulinet(dot)hu>
Cc: "pgsql-odbc" <pgsql-odbc(at)postgresql(dot)org>
Subject: Error handling in ODBC
Date: 2001-06-14 06:27:06
Message-ID: EKEJJICOHDIEMGPNIFIJGEMEEKAA.Inoue@tpf.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces pgsql-odbc

Hi all,

Recently I found the case that NOTICE causes an error in ODBC
while examining Kristis' error report.

It seems that NOTICE had never been the cause of SQL_ERROR
before Zoltan's change about a year ago. Before his change *NOTICE*
only caused a PGRES_NONFATAL_ERROR and SC_execute()
returned SQL_SUCCESS_WITH_INFO. However currently *ERROR*
also causes a PGRES_NONFATAL_ERROR and SC_Execute()
returns SQL_ERROR.
Why was this changed ?
I'd like to put it back if there's no reason.

regards,
Hiroshi Inoue

In response to

Responses

Browse pgsql-interfaces by date

  From Date Subject
Next Message Nelson Ferreira Jr 2001-06-14 12:37:12 Trouble with 7.1.2 JDBC driver
Previous Message David Wall 2001-06-14 04:16:24 Re: Vacuum analyze in 7.1.1

Browse pgsql-odbc by date

  From Date Subject
Next Message Hiroshi Inoue 2001-06-14 06:51:18 Re: ODBC Interface version 07_01_0005, problem with C++ exceptions
Previous Message Mister X 2001-06-14 06:06:42 ODBC Interface version 07_01_0005, problem with C++ exceptions