Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Ztvcv-00050m-5G for pgsql-odbc@arkaria.postgresql.org; Wed, 04 Nov 2015 10:49:13 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1Ztvcu-0006x9-7x for pgsql-odbc@arkaria.postgresql.org; Wed, 04 Nov 2015 10:49:12 +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 1Ztvct-0006wx-Pz for pgsql-odbc@postgresql.org; Wed, 04 Nov 2015 10:49:11 +0000 Received: from orx-mxprd.serena.com ([205.142.227.27]) by magus.postgresql.org with esmtp (Exim 4.84) (envelope-from ) id 1Ztvcl-0006wb-Se for pgsql-odbc@postgresql.org; Wed, 04 Nov 2015 10:49:10 +0000 Received: from [10.130.41.54] (stal-dev-lx1.serena.com [10.130.41.54]) by orx-mxprd.serena.com (8.14.7/8.14.7) with ESMTP id tA4AmwJj027744 for ; Wed, 4 Nov 2015 02:48:59 -0800 Reply-To: vkrevs@serena.com Subject: Re: SQL_DATA_AT_EXEC processing broken for large objects in nightly git References: <561F954E.7020808@serena.com> <5639B85F.7030408@dream.email.ne.jp> To: pgsql-odbc@postgresql.org From: Vadym Krevs Organization: Serena Software Europe Ltd Message-ID: <5639E29A.3010400@serena.com> Date: Wed, 4 Nov 2015 10:48:58 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: <5639B85F.7030408@dream.email.ne.jp> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -1.9 (-) 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 Thank you - much appreciated. Regards, Vadym On 04/11/15 07:48, 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. > > 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