Re: Error handling in ODBC - Mailing list pgsql-odbc

From Hiroshi Inoue
Subject Re: Error handling in ODBC
Date
Msg-id 3B2EB73D.7300385F@tpf.co.jp
Whole thread Raw
In response to Re: Error handling in ODBC  (Kovacs Zoltan <kovacsz@pc10.radnoti-szeged.sulinet.hu>)
List pgsql-odbc
Hi all,

I've just committed a fix to cvs.

Changed the error handling as follows.
1) ERRORs causes an SQL_ERROR and the SQLSTATE='S1000'.
2) NOTICEs causes an SQL_SUCCESS_WITH_INFO and the succeeding
   SQLError() returns the NOTICE message.

Remarks.
1) RI violation ERRORs are reported properly.
2) The NOTICE is the last NOTICE message and
   is truncated to 4095 bytes.

regards,
Hiroshi Inoue

pgsql-odbc by date:

Previous
From: Hiroshi Inoue
Date:
Subject: Re: Error handling in ODBC
Next
From: Dave Page
Date:
Subject: RE: Error handling in ODBC