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 5CD3D9FA32D for ; Wed, 17 May 2006 09:46:20 -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 94677-09 for ; Wed, 17 May 2006 09:46:10 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from sd.tpf.co.jp (sd.tpf.co.jp [210.161.239.34]) by postgresql.org (Postfix) with SMTP id 5A0949FA226 for ; Wed, 17 May 2006 09:46:09 -0300 (ADT) Received: (qmail 31345 invoked from network); 17 May 2006 21:46:06 +0900 X-Authentication: inoue was authenticated by smtp.tpf.co.jp at 17 May 2006 21:46:06 +0900 Received: from unknown (HELO ?192.168.11.2?) (219.61.40.10) by smtp.tpf.co.jp with SMTP; 17 May 2006 21:46:06 +0900 Message-ID: <446B1B08.8020804@tpf.co.jp> Date: Wed, 17 May 2006 21:46:00 +0900 From: Hiroshi Inoue User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) MIME-Version: 1.0 To: Bart Samwel CC: pgsql-odbc@postgresql.org Subject: Re: Output parameters References: <446AE2CF.5070607@samwel.tk> In-Reply-To: <446AE2CF.5070607@samwel.tk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200605/38 X-Sequence-Number: 7709 Bart Samwel wrote: > 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). What kind of tool are you using and how do you execute the above example concretely ? regards, Hiroshi Inoue