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

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 (view raw or flat)
Thread:
Lists: pgsql-interfacespgsql-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

pgsql-odbc by date

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

pgsql-interfaces by date

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

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