Retrieving output bind parameters not working

From: Andrei Gheorghe <andreigheorghe165(at)yahoo(dot)com>
To: "pgsql-odbc(at)postgresql(dot)org" <pgsql-odbc(at)postgresql(dot)org>
Subject: Retrieving output bind parameters not working
Date: 2014-01-29 14:48:49
Message-ID: 1391006929.86845.YahooMailNeo@web142602.mail.bf1.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-odbc

Hello,

I'm trying to call a procedure that takes two OUT parameters and one IN parameter
but the buffers for the two OUT parameters I've called SQLBindParameter on
aren't filled after executing "SELECT procedure(?, ?, ?)". The procedure does
return them as "(value1, value2)".

Also, when I try to execute "{CALL procedure (?,?,?)}", I get an access violation
in psqlodbc35w.dll.
The code I'm trying right now was used with other ODBC drivers and it was working.

Am I doing something wrong or does Postgres deal differently with OUT parameters?

Thank you

Responses

Browse pgsql-odbc by date

  From Date Subject
Next Message Martin J. Evans 2014-01-29 21:05:28 Re: Retrieving output bind parameters not working
Previous Message Hiroshi Inoue 2014-01-21 03:58:37 Re: support for keep alive option