Re: Issues with OUT parameters in stored procedures

From: Thomas Apsel <thomas(dot)apsel(at)opentext(dot)com>
To: "Inoue, Hiroshi" <h-inoue(at)dream(dot)email(dot)ne(dot)jp>
Cc: "pgsql-odbc(at)postgresql(dot)org" <pgsql-odbc(at)postgresql(dot)org>
Subject: Re: Issues with OUT parameters in stored procedures
Date: 2017-02-21 08:39:24
Message-ID: 74AFC4E35F7D054BB70C4149AA30A66D9A8C9443@otmucxg20.opentext.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-odbc

Hi,

thank you so much for the quick answer. But we need an official fix in the binary of the psqlodbc driver for our customers. Do you know by when this fix is available in the binary distributions?

I’m not quite familiar with PostGreSQL and I’m only managing this issue for our product. Is there a bugtracker or something like that for PostGreSQL driver and is our bug already added into such a bugtracker (to follow the status)?

Regards,

Thomas

From: Inoue, Hiroshi [mailto:h-inoue(at)dream(dot)email(dot)ne(dot)jp]
Sent: Dienstag, 21. Februar 2017 05:56
To: Thomas Apsel
Cc: pgsql-odbc(at)postgresql(dot)org
Subject: Re: [ODBC] Issues with OUT parameters in stored procedures

Hi Thomas,
On 2017/02/20 22:11, Thomas Apsel wrote:
Hi,

we have here an issue that stored procedures cannot be found. This issue comes up with the newest psqlodbc version. The following information is from my colleague (he is currently not in the office) and I hope that this information is enough to verify the issue.

Thanks for the info.
I can verify the issue.

Would be fine if you can us a hint how to adjust the attached sample “params-out-test.c” or better you can fix the bug in the psqlodbc driver.

A workaround is to call SQLPrepare() and SQLExecute() instead of calling SQLExecDirect().
Attached is a patch to fix this issue.

regards,
Hiroshi Inoue

Thank you for your help.

Regards,

Thomas Apsel

In response to

Browse pgsql-odbc by date

  From Date Subject
Next Message Jack C. Wei 2017-03-03 20:14:43 ODBC connections go dead after a failed query?
Previous Message Inoue, Hiroshi 2017-02-21 08:29:46 Re: SQLGetTypeInfo tiny column sizes