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

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 (view raw or flat)
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.


pgsql-odbc by date

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

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