From: Ludek Finstrle <luf@pzkagis.cz>
To: Philippe Lang <philippe.lang@attiksystem.ch>
Cc: pgsql-odbc@postgresql.org
Subject: Re: PG 8 INOUT parameters & ADO
Date: Tue, 25 Apr 2006 18:37:52 +0200
Message-ID: <20060425163752.GF25305@soptik.pzkagis.cz> (raw)
In-Reply-To: <6C0CF58A187DA5479245E0830AF84F421D0C18@poweredge.attiksystem.ch>
References: <6C0CF58A187DA5479245E0830AF84F421D0C18@poweredge.attiksystem.ch>
> I have a PG 8.1.3 server with the following PL/PERL procedure:
>
> ------------
>
> CREATE FUNCTION perl_test(a inout integer, b inout integer, r1 out integer,
> r2 out integer) AS
...
> ------------
>
> I'm trying to call this procedure with ADO (latest version under XP),
> through the ODBC driver version 8.01.02.00, like this:
>
> ------------
>
> It fails, with error -2147217887 each time.
>
> Is it possible to query stored procedures like this with the PG ODBC driver?
The psqlodbc 08.01.0200 doesn't support out parameters. Please try
enhanced experimental branch (07.03.026X) from pgfoundry.org.
This development branch is now CVS tip and it is the base for
next stable release (IMHO it is more stable then 08.01.0200).
Regards,
Luf
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: luf@pzkagis.cz, philippe.lang@attiksystem.ch
Subject: Re: PG 8 INOUT parameters & ADO
In-Reply-To: <20060425163752.GF25305@soptik.pzkagis.cz>
References: <6C0CF58A187DA5479245E0830AF84F421D0C18@poweredge.attiksystem.ch> <20060425163752.GF25305@soptik.pzkagis.cz>
* 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