Re: Prepared statement error with UseServerSidePrepare=1 - Mailing list pgsql-odbc

From Hiroshi Inoue
Subject Re: Prepared statement error with UseServerSidePrepare=1
Date
Msg-id 538C9563.7020401@tpf.co.jp
Whole thread Raw
In response to Prepared statement error with UseServerSidePrepare=1  (<lev.bukovski@teliasonera.com>)
Responses Re: Prepared statement error with UseServerSidePrepare=1  (<lev.bukovski@teliasonera.com>)
List pgsql-odbc
(2014/06/02 22:11), lev.bukovski@teliasonera.com wrote:
> Hi Hiroshi,
>
> I applied your patch on psqlodbc 9.3.3 (NOT on the head branch).
> Now I can't even get to insert operations, because I get error while application configuration fetch.
>
> I have this CONFIG table, from where I load configuration parameters (SELECT VALUE2, VALUE3 FROM CONFIG WHERE VALUE1
=?) 
> Each execute of the SQL returns one row. So the first execute success, but second returns with 'Null statement result
inPGAPI_ExtendedFetch' error. 
>
> psqlodbc and mylog files are in attechaments.

Thanks for the report.
Please apply the attached patch also.

It's the same as the one attached in the thread
  [ODBC] Problems using SQLFetch on prepared INSERT with RETURNING clause
.

regards,
Hiroshi Inoue


Attachment

pgsql-odbc by date:

Previous
From: Michael Paquier
Date:
Subject: Re: Mentioning CPU for Windows build in docs
Next
From: Hiroshi Inoue
Date:
Subject: Re: Mentioning CPU for Windows build in docs