X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id E69BD9FA19B for ; Wed, 17 May 2006 05:47:58 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 53654-09 for ; Wed, 17 May 2006 05:47:49 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from samwel.tk (bsamwel.xs4all.nl [82.92.179.183]) by postgresql.org (Postfix) with ESMTP id CBC829F9C9E for ; Wed, 17 May 2006 05:47:48 -0300 (ADT) Received: from localhost ([127.0.0.1]) by samwel.tk with esmtp (Exim 4.62) (envelope-from ) id 1FgHh3-0008BY-CR for pgsql-odbc@postgresql.org; Wed, 17 May 2006 10:47:45 +0200 Message-ID: <446AE2CF.5070607@samwel.tk> Date: Wed, 17 May 2006 10:46:07 +0200 From: Bart Samwel User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) MIME-Version: 1.0 To: pgsql-odbc@postgresql.org Subject: Output parameters Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: bart@samwel.tk X-SA-Exim-Scanned: No (on samwel.tk); SAEximRunCond expanded to false X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200605/37 X-Sequence-Number: 7708 Hi there, I've got a situation with the experimental enhanced branch driver (version 7.03.02.66), PostgreSQL 8.1 backend. I'm executing a query such as: SELECT myproc(?,?,?,?,?,?,?) where a number of the parameters are output parameters. I've bound buffers to the output parameters, but when I read the values, they contain garbage (uninitialized data, to be precise -- 0xcdcdcdcd). The first result row then contains the output parameter values. I'd expect the result row, as this is how PostgreSQL implements output parameters, but does anybody have any clue why the bound buffers for the output parameters aren't filled? Thanks in advance for your help! Cheers, Bart