pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Hiroshi Inoue <inoue@tpf.co.jp>
To: Heikki Linnakangas <hlinnakangas@vmware.com>
Cc: pgsql-odbc@postgresql.org
Subject: Re: SQLExecute returns 0 rows with BoolsAsChar=1
Date: Fri, 26 Apr 2013 06:10:57 +0900
Message-ID: <51799BE1.7000703@tpf.co.jp> (raw)
In-Reply-To: <5177FD71.3030508@vmware.com>
References: <51479445.7020905@vmware.com>
	<514AFABC.7000808@tpf.co.jp>
	<514B3870.2060208@vmware.com>
	<514ED061.10906@tpf.co.jp>
	<51503885.5090001@vmware.com>
	<5151B89D.8060902@tpf.co.jp>
	<51559C6B.5000006@tpf.co.jp>
	<5177FD71.3030508@vmware.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-odbc>

(2013/04/25 0:42), Heikki Linnakangas wrote:
> On 29.03.2013 15:51, Hiroshi Inoue wrote:
>> (2013/03/27 0:02), Hiroshi Inoue wrote:
>>> (2013/03/25 20:44), Heikki Linnakangas wrote:
>>>> On 24.03.2013 12:07, Hiroshi Inoue wrote:
>>>>> I can reproduce it now when I turn off the *Server side prepare*
>>>>> option
>>>>> or turn on the *Use Declare/Fetch* option.
>>>>
>>>> Ah yeah, UseServerSidePrepare hides it. I'm also seeing the problem
>>>> without UseDeclareFetch, though.
>>>>
>>>>> Attached is a patch to fix the bug.
>>>>
>>>> Thanks. I must admit I don't understand how this works. Also, the 2nd
>>>> test case in attached file now fails. It does a DELETE ... RETURNING,
>>>> binding a parameter array with a VARCHAR(5) column, and fetches the
>>>> results. With the patch, it can't fetch the result sets.
>>>
>>> Thanks for the test case.
>>> The attached patch instead of the previous one would fix the problem
>>> but still has a problem when the server side prepare option is turned
>>> on.
>>
>> OK attached is a patch to fix the problem with the *Server side
>> Prepare* option.
>
> Many thanks! Although I still don't fully understand the fix, I
> committed that with minor copy-editing.

Thanks.
I'm examing the report from Jack Wilson.
Probably I can reproduce his case now.

regards,
Hiroshi Inoue


-- 
Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-odbc



view thread (12+ messages)

Message-ID: <51799BE1.7000703@tpf.co.jp>
Permalink:  ../51799BE1.7000703@tpf.co.jp/
Also on:    postgresql.org/message-id/51799BE1.7000703@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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-odbc@postgresql.org
  Cc: inoue@tpf.co.jp, hlinnakangas@vmware.com
  Subject: Re: SQLExecute returns 0 rows with BoolsAsChar=1
  In-Reply-To: <51799BE1.7000703@tpf.co.jp>
  References: <51479445.7020905@vmware.com> <514AFABC.7000808@tpf.co.jp> <514B3870.2060208@vmware.com> <514ED061.10906@tpf.co.jp> <51503885.5090001@vmware.com> <5151B89D.8060902@tpf.co.jp> <51559C6B.5000006@tpf.co.jp> <5177FD71.3030508@vmware.com> <51799BE1.7000703@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