Re: SQL_DATA_AT_EXEC processing broken for large objects in nightly git - Mailing list pgsql-odbc

From Inoue, Hiroshi
Subject Re: SQL_DATA_AT_EXEC processing broken for large objects in nightly git
Date
Msg-id 563A159A.5080104@dream.email.ne.jp
Whole thread Raw
In response to Re: SQL_DATA_AT_EXEC processing broken for large objects in nightly git  (Heikki Linnakangas <hlinnaka@iki.fi>)
Responses Re: SQL_DATA_AT_EXEC processing broken for large objects in nightly git  (Heikki Linnakangas <hlinnaka@iki.fi>)
List pgsql-odbc

On 2015/11/04 20:04, Heikki Linnakangas wrote:
> On 11/04/2015 09:48 AM, Inoue, Hiroshi wrote:
>> Hi,
>>
>> I was able to reproduce it here.
>> Because I can't understand the current code at once, please give me some
>> time
>> to solve the problem.
>
> I also started looking at this last week, and came up with a patch
> that I think fixes it, but I got distracted before completing it and
> replying here. So here's what I came up with...
>

The solution seems to generate 2 transactions for 1 insertion.
The insertion seems to be rejected when ByteaAsLongVarBinary=1.
Are they intentional?l

regards,
Hiroshi Inoue



pgsql-odbc by date:

Previous
From: "Inoue, Hiroshi"
Date:
Subject: Re: [BUGS] There is a case in which psqlodbc-09.03.0400 returns unterminated strings on Windows.
Next
From: Heikki Linnakangas
Date:
Subject: Re: SQL_DATA_AT_EXEC processing broken for large objects in nightly git