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

Re: Error handling in ODBC

From: Hiroshi Inoue <Inoue(at)tpf(dot)co(dot)jp>
To: Kovacs Zoltan <kovacsz(at)pc10(dot)radnoti-szeged(dot)sulinet(dot)hu>, Tibor Laszlo <ltibor(at)mail(dot)tiszanet(dot)hu>, Dave Page <dpage(at)vale-housing(dot)co(dot)uk>, Kristis Makris <kristis(dot)makris(at)datasoft(dot)com>, Mister ics <mister_ics(at)hotmail(dot)com>
Cc: "pgsql-odbc(at)postgresql(dot)org" <pgsql-odbc(at)postgresql(dot)org>
Subject: Re: Error handling in ODBC
Date: 2001-06-19 02:21:49
Message-ID: 3B2EB73D.7300385F@tpf.co.jp (view raw or flat)
Thread:
Lists: pgsql-interfacespgsql-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

In response to

pgsql-odbc by date

Next:From: Dave PageDate: 2001-06-19 08:48:47
Subject: RE: Error handling in ODBC
Previous:From: Hiroshi InoueDate: 2001-06-19 00:11:11
Subject: Re: Error handling in ODBC

pgsql-interfaces by date

Next:From: Jack WoehrDate: 2001-06-19 16:19:34
Subject: Re: jbuilder and postgres
Previous:From: Hiroshi InoueDate: 2001-06-19 00:11:11
Subject: Re: Error handling in ODBC

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