Re: SQLExecDirectW returns SQL_SUCCESS even if sql finishes with error

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Jonah H(dot) Harris" <jonah(dot)harris(at)gmail(dot)com>
Cc: h-inoue(at)dream(dot)email(dot)ne(dot)jp, r(dot)takahashi_2(at)jp(dot)fujitsu(dot)com, pgsql-odbc(at)postgresql(dot)org
Subject: Re: SQLExecDirectW returns SQL_SUCCESS even if sql finishes with error
Date: 2018-11-06 16:29:25
Message-ID: 8142.1541521765@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-odbc

"Jonah H. Harris" <jonah(dot)harris(at)gmail(dot)com> writes:
> On Thu, Nov 1, 2018 at 10:50 PM Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
>> Yeah, I wonder why we allow that at all. It's basically breaking
>> the wire protocol ...

> Agreed. I'll send in a patch if you want.

I started a thread about this on -hackers,

https://www.postgresql.org/message-id/7809.1541521180@sss.pgh.pa.us

If you have or want to start on a patch, please do so and follow up
there.

regards, tom lane

In response to

Browse pgsql-odbc by date

  From Date Subject
Next Message Clemens Ladisch 2018-11-06 17:48:49 Re: Does the psqlodbc driver support asynchronous queries?
Previous Message Markus Angst 2018-11-06 16:10:27 Re: Out of memory while reading tuples