Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Ztz1j-0001w0-Bm for pgsql-odbc@arkaria.postgresql.org; Wed, 04 Nov 2015 14:27:03 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1Ztz1i-0007Rr-6O for pgsql-odbc@arkaria.postgresql.org; Wed, 04 Nov 2015 14:27:02 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1Ztz1L-00072f-Oe for pgsql-odbc@postgresql.org; Wed, 04 Nov 2015 14:26:39 +0000 Received: from mail1.asahi-net.or.jp ([202.224.39.197]) by magus.postgresql.org with esmtp (Exim 4.84) (envelope-from ) id 1Ztz1I-0002sh-5B for pgsql-odbc@postgresql.org; Wed, 04 Nov 2015 14:26:38 +0000 Received: from [192.168.1.8] (aa029251.dynamic.ppp.asahi-net.or.jp [110.5.29.251]) by mail1.asahi-net.or.jp (Postfix) with ESMTP id 49AF7117A6; Wed, 4 Nov 2015 23:26:32 +0900 (JST) Subject: Re: SQL_DATA_AT_EXEC processing broken for large objects in nightly git To: Heikki Linnakangas References: <561F954E.7020808@serena.com> <5639B85F.7030408@dream.email.ne.jp> <5639E621.1020505@iki.fi> From: "Inoue, Hiroshi" Cc: pgsql-odbc@postgresql.org Message-ID: <563A159A.5080104@dream.email.ne.jp> Date: Wed, 4 Nov 2015 23:26:34 +0900 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: <5639E621.1020505@iki.fi> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-odbc Precedence: bulk Sender: pgsql-odbc-owner@postgresql.org 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 -- Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-odbc