pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Hiroshi Inoue <Inoue@tpf.co.jp>
To: Zoltan Kovacs <tip@pc10.radnoti-szeged.sulinet.hu>
Cc: pgsql-odbc <pgsql-odbc@postgresql.org>
Subject: Error handling in ODBC
Date: Thu, 14 Jun 2001 15:27:06 +0900
Message-ID: <EKEJJICOHDIEMGPNIFIJGEMEEKAA.Inoue@tpf.co.jp> (raw)
In-Reply-To: <00042014060300.01312@tir>

Hi all,

Recently I found the case that  NOTICE causes an error in ODBC
while examining Kristis' error report.

It seems that NOTICE had never been the cause of SQL_ERROR
before Zoltan's change about a year ago. Before his change *NOTICE*
only caused a PGRES_NONFATAL_ERROR and SC_execute()
returned SQL_SUCCESS_WITH_INFO. However currently *ERROR*
also causes a PGRES_NONFATAL_ERROR and SC_Execute()
returns SQL_ERROR.
Why was this changed ?
I'd like to put it back if there's no reason.

regards,
Hiroshi Inoue



view thread (6+ messages)  latest in thread

Message-ID: <EKEJJICOHDIEMGPNIFIJGEMEEKAA.Inoue@tpf.co.jp>
Permalink:  ../EKEJJICOHDIEMGPNIFIJGEMEEKAA.Inoue@tpf.co.jp/
Also on:    postgresql.org/message-id/EKEJJICOHDIEMGPNIFIJGEMEEKAA.Inoue@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, tip@pc10.radnoti-szeged.sulinet.hu, pgsql-odbc@postgresql.org
  Subject: Re: Error handling in ODBC
  In-Reply-To: <EKEJJICOHDIEMGPNIFIJGEMEEKAA.Inoue@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