From: Bart Samwel <bart@samwel.tk>
To: pgsql-odbc@postgresql.org
Subject: Output parameters
Date: Wed, 17 May 2006 10:46:07 +0200
Message-ID: <446AE2CF.5070607@samwel.tk> (raw)
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-odbc@postgresql.org
Cc: bart@samwel.tk
Subject: Re: Output parameters
In-Reply-To: <446AE2CF.5070607@samwel.tk>
References: <446AE2CF.5070607@samwel.tk>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox