RE: Error handling in ODBC

From: Dave Page <dpage(at)vale-housing(dot)co(dot)uk>
To: "'Hiroshi Inoue'" <Inoue(at)tpf(dot)co(dot)jp>, 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
Subject: RE: Error handling in ODBC
Date: 2001-06-19 08:48:47
Message-ID: 8568FC767B4AD311AC33006097BCD3D61A2C64@woody.vale-housing.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-odbc

> -----Original Message-----
> From: Hiroshi Inoue [mailto:Inoue(at)tpf(dot)co(dot)jp]
> Sent: 19 June 2001 03:22
> To: Kovacs Zoltan; Tibor Laszlo; Dave Page; Kristis Makris; Mister ics
> Cc: pgsql-odbc(at)postgresql(dot)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.

Browse pgsql-odbc by date

  From Date Subject
Next Message Dave Page 2001-06-19 09:17:49 RE: Error handling in ODBC
Previous Message Hiroshi Inoue 2001-06-19 02:21:49 Re: Error handling in ODBC