Re: Error handling in ODBC

From: "Mister ics" <mister_ics(at)hotmail(dot)com>
To: Inoue(at)tpf(dot)co(dot)jp
Cc: pgsql-odbc(at)postgresql(dot)org
Subject: Re: Error handling in ODBC
Date: 2001-06-19 17:06:33
Message-ID: F94Qnzh9nTwxDrUjkn20001d970@hotmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-odbc

Hi Hiroshi,

thank you for the fix.

regards,
Silvio

>
>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

_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Browse pgsql-odbc by date

  From Date Subject
Next Message Mike Renfro 2001-06-19 18:57:49 Problems with Project 2000 and 7.1.2
Previous Message stellaris 2001-06-19 12:15:47 Re: Error handling in ODBC