Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1ZtsoU-0003ab-Mp for pgsql-odbc@arkaria.postgresql.org; Wed, 04 Nov 2015 07:48:58 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1ZtsoU-0004GP-7p for pgsql-odbc@arkaria.postgresql.org; Wed, 04 Nov 2015 07:48:58 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1ZtsoT-0004GI-Mf for pgsql-odbc@postgresql.org; Wed, 04 Nov 2015 07:48:57 +0000 Received: from mail2.asahi-net.or.jp ([202.224.39.198]) by makus.postgresql.org with esmtp (Exim 4.84) (envelope-from ) id 1ZtsoP-0002Jn-6e for pgsql-odbc@postgresql.org; Wed, 04 Nov 2015 07:48:54 +0000 Received: from [192.168.1.8] (aa029251.dynamic.ppp.asahi-net.or.jp [110.5.29.251]) by mail2.asahi-net.or.jp (Postfix) with ESMTP id 42402196EA for ; Wed, 4 Nov 2015 16:48:46 +0900 (JST) Subject: Re: SQL_DATA_AT_EXEC processing broken for large objects in nightly git To: pgsql-odbc@postgresql.org References: <561F954E.7020808@serena.com> From: "Inoue, Hiroshi" Message-ID: <5639B85F.7030408@dream.email.ne.jp> Date: Wed, 4 Nov 2015 16:48:47 +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: <561F954E.7020808@serena.com> 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 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. regards, Hiroshi inoue On 2015/10/15 21:00, Vadym Krevs wrote: > Hi, > > the nightly git of the psqlODBC driver appears to no longer support > insertion into LO columns when using SQL_DATA_AT_EXEC mode. The > latest released driver version - psqlodbc-09.03.0400 - works. I've > tested this against both PostgreSQL 9.4.4 and 9.4.5 on openSUSE 13.2. > > An adapted variant of the large-object-test.c program that uses > SQL_DATA_AT_EXEC mode is attached. When run as part of the regression > test suite against psqlodbc-09.03.0400, both the > large-object-data-at-exec-test.c test completes successfully, just > like large-object-test.c, and produces the following output in > test/results/large-object-data-at-exec.out: > > \! "./src/large-object-data-at-exec-test" > connected > inserting large object... > reading it back... > hex: 0102030405060708 > disconnecting > > However, when run as part of the regression test suite against nightly > git build of psqlodbc, the large-object-data-at-exec-test.c test > fails, unlike large-object-test.c, and produces the following output > in test/results/large-object-data-at-exec.out: > > connected > inserting large object... > SQLParamData failed (final call) > HY000=unexpected NULL parameter value > > Regards, > Vadym -- Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-odbc