Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1W8WRl-00029s-Ez for pgsql-odbc@arkaria.postgresql.org; Wed, 29 Jan 2014 14:48:57 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1W8WRk-0006JE-UY for pgsql-odbc@arkaria.postgresql.org; Wed, 29 Jan 2014 14:48:56 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1W8WRj-0006HQ-7f for pgsql-odbc@postgresql.org; Wed, 29 Jan 2014 14:48:55 +0000 Received: from nm21.bullet.mail.bf1.yahoo.com ([98.139.212.180]) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1W8WRe-0006el-O0 for pgsql-odbc@postgresql.org; Wed, 29 Jan 2014 14:48:54 +0000 Received: from [66.196.81.171] by nm21.bullet.mail.bf1.yahoo.com with NNFMP; 29 Jan 2014 14:48:49 -0000 Received: from [98.139.212.206] by tm17.bullet.mail.bf1.yahoo.com with NNFMP; 29 Jan 2014 14:48:49 -0000 Received: from [127.0.0.1] by omp1015.mail.bf1.yahoo.com with NNFMP; 29 Jan 2014 14:48:49 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 373906.47228.bm@omp1015.mail.bf1.yahoo.com Received: (qmail 35093 invoked by uid 60001); 29 Jan 2014 14:48:49 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1391006929; bh=6U9mXUAseG0FVdSmd6WMgbLyMTqZONLG3zW6s04PN0c=; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:Message-ID:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type; b=0sC4v/V6+Hiibtc654+iSwbf5ibyW3xszBOFylTm2D6/fK+RONNNQtzp50u9MuUUYdV0hzOD2Pw7htj/J3C1O22cvlonfyRRMLUZkXvRrJ+yl68CfamvMW8Cr5IjyxJ3i9+bXbWKln+xfO7C/Vm1IIWmQSQf85GfZSPvp99Tlng= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:Message-ID:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type; b=Qb0VVApfFM+zr9wxoOKRr2Ojzw86oloD01iTEjtPCHdgI9IFbPbg+0iJJKJ20BPJMquriUoO++t7GPyNONenCxgPKF7tt71L4gBkfCVniBjkiwWWOPJHz6kJyqkP9o779OurW6J9tYFgRKu1eOArUaTncOtawm6dbhBWP/Uxg5g=; X-YMail-OSG: 2li68DgVM1lrkuk4JDYK220efn7Q0Y6F6m0CDC9mq_Dw7yJ 46nd.JlpWRfdwQwW68HeOS.Y5g9SsQ6H9OaoGCj7DnGMywQkw72SKf4.YJSj THTWjhUlut6x87s9bUAZCZzdV1HRbZeXzEAtYBJnkvzcoLwOTkH2axrHSbeb lNd63zf1sYl3g423IwazK0S.GeafouZKhNym6X0T0G1ai9rObHVuShwqbPnI 9A6wUriny16Wrp23EVAnbuJKf6LbFojhv8ImPsAOeKLNiO1B8xaFQ8tde02p 0mY_Sn8AZxKcxbq63cnB7bm_AUJLa_XoCQUjIgb9IPDiu9GF6tnPygNfdb05 qHBJTRR2f54eg9KOJgPxUxFp9HxM.cuMZnscGrsq5yMB9XxLHtIzw79lU9sA XMJbaD7ksAPWqcE971Y5kzGCZU2O548G2LDXZZoZNusi7TfD0jbbW.nPVsqZ G6U7PwwA3gas4AjvnBulE30jF4_VLwH.VF0vEH6ivrH_JJhG5YTxnE.EHdZB Z_7eh1fSChw6jICsmKpAskl9p Received: from [82.76.85.138] by web142602.mail.bf1.yahoo.com via HTTP; Wed, 29 Jan 2014 06:48:49 PST X-Rocket-MIMEInfo: 002.001, SGVsbG8sCgpJJ20gdHJ5aW5nIHRvIGNhbGwgYSBwcm9jZWR1cmUgdGhhdCB0YWtlcyB0d28gT1VUIHBhcmFtZXRlcnMgYW5kIG9uZSBJTiBwYXJhbWV0ZXIKYnV0IHRoZSBidWZmZXJzIGZvciB0aGUgdHdvIE9VVCBwYXJhbWV0ZXJzIEkndmUgY2FsbGVkIFNRTEJpbmRQYXJhbWV0ZXIgb24gCmFyZW4ndCBmaWxsZWQgYWZ0ZXIgZXhlY3V0aW5nICJTRUxFQ1QgcHJvY2VkdXJlKD8sID8sID8pIi4gVGhlIHByb2NlZHVyZSBkb2VzIApyZXR1cm4gdGhlbSBhcyAiKHZhbHVlMSwgdmFsdWUyKSIuIAoKQWxzbywgd2gBMAEBAQE- X-Mailer: YahooMailWebService/0.8.174.629 Message-ID: <1391006929.86845.YahooMailNeo@web142602.mail.bf1.yahoo.com> Date: Wed, 29 Jan 2014 06:48:49 -0800 (PST) From: Andrei Gheorghe Reply-To: Andrei Gheorghe Subject: Retrieving output bind parameters not working To: "pgsql-odbc@postgresql.org" MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="-1585520525-535454769-1391006929=:86845" X-Pg-Spam-Score: 2.0 (++) 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 ---1585520525-535454769-1391006929=:86845 Content-Type: text/plain; charset=us-ascii 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 ---1585520525-535454769-1391006929=:86845 Content-Type: text/html; charset=us-ascii
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
---1585520525-535454769-1391006929=:86845--