pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Hiroshi Inoue <Inoue@tpf.co.jp>
To: Kovacs Zoltan <kovacsz@pc10.radnoti-szeged.sulinet.hu>
To: Tibor Laszlo <ltibor@mail.tiszanet.hu>
To: Dave Page <dpage@vale-housing.co.uk>
To: Kristis Makris <kristis.makris@datasoft.com>
To: Mister ics <mister_ics@hotmail.com>
Cc: pgsql-odbc@postgresql.org <pgsql-odbc@postgresql.org>
Subject: Re: Error handling in ODBC
Date: Tue, 19 Jun 2001 11:21:49 +0900
Message-ID: <3B2EB73D.7300385F@tpf.co.jp> (raw)
References: <Pine.LNX.4.21.0106181714260.29154-100000@pc10.radnoti-szeged.sulinet.hu>
	<3B2E989F.D68C5955@tpf.co.jp>

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



view thread (6+ messages)

Message-ID: <3B2EB73D.7300385F@tpf.co.jp>
Permalink:  ../3B2EB73D.7300385F@tpf.co.jp/
Also on:    postgresql.org/message-id/3B2EB73D.7300385F@tpf.co.jp

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: Inoue@tpf.co.jp, kovacsz@pc10.radnoti-szeged.sulinet.hu, ltibor@mail.tiszanet.hu, dpage@vale-housing.co.uk, kristis.makris@datasoft.com, mister_ics@hotmail.com, pgsql-odbc@postgresql.org
  Subject: Re: Error handling in ODBC
  In-Reply-To: <3B2EB73D.7300385F@tpf.co.jp>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox