pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Inoue, Hiroshi <h-inoue@dream.email.ne.jp>
To: pgsql-odbc@postgresql.org
Subject: Re: SQL_DATA_AT_EXEC processing broken for large objects in nightly git
Date: Wed, 4 Nov 2015 16:48:47 +0900
Message-ID: <5639B85F.7030408@dream.email.ne.jp> (raw)
In-Reply-To: <561F954E.7020808@serena.com>
References: <561F954E.7020808@serena.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-odbc>

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



view thread (9+ messages)  latest in thread

Message-ID: <5639B85F.7030408@dream.email.ne.jp>
Permalink:  ../5639B85F.7030408@dream.email.ne.jp/
Also on:    postgresql.org/message-id/5639B85F.7030408@dream.email.ne.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: h-inoue@dream.email.ne.jp
  Subject: Re: SQL_DATA_AT_EXEC processing broken for large objects in nightly git
  In-Reply-To: <5639B85F.7030408@dream.email.ne.jp>
  References: <561F954E.7020808@serena.com> <5639B85F.7030408@dream.email.ne.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