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

From Dave Page
Subject RE: Error handling in ODBC
Date
Msg-id 8568FC767B4AD311AC33006097BCD3D61A2C64@woody.vale-housing.co.uk
Whole thread Raw
In response to Error handling in ODBC  ("Hiroshi Inoue" <Inoue@tpf.co.jp>)
List pgsql-odbc

> -----Original Message-----
> From: Hiroshi Inoue [mailto:Inoue@tpf.co.jp]
> Sent: 19 June 2001 03:22
> To: Kovacs Zoltan; Tibor Laszlo; Dave Page; Kristis Makris; Mister ics
> Cc: pgsql-odbc@postgresql.org
> Subject: Re: [ODBC] Error handling in 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

I owe you the drink of your choice Hiroshi - that worked a treat, many
thanks. There's been a few updates recently, so if you agree and no-one
objects shall we package 07.01.0006? If so, if you can update the version
number, I'll do the build and add the various distros to the ftp site.

Regards,

Dave.

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