Re: Can you bind output variables?

From: "Goulet, Dick" <DGoulet(at)vicr(dot)com>
To: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>, <mjc(at)comcast(dot)net>
Cc: <pgsql-interfaces(at)postgresql(dot)org>
Subject: Re: Can you bind output variables?
Date: 2005-02-09 13:46:22
Message-ID: 4001DEAF7DF9BD498B58B45051FBEA65021B8002@25exch1.vicorpower.vicr.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

But the method that libpq has for returning data is, I believe, much
more friendly than other DBMS's. Try using Oracle's SQLDA, it's a lot
more complicated. Although once setup it works well.

Dick Goulet
Senior Oracle DBA
Oracle Certified 8i DBA
-----Original Message-----
From: Tom Lane [mailto:tgl(at)sss(dot)pgh(dot)pa(dot)us]
Sent: Tuesday, February 08, 2005 11:49 PM
To: mjc(at)comcast(dot)net
Cc: pgsql-interfaces(at)postgresql(dot)org
Subject: Re: [INTERFACES] Can you bind output variables?

mjc(at)comcast(dot)net writes:
> Can you use paramValues[] in either PQexecParams or PQexecPrepared to
read
> data from the DB into the bound variables?

Nope, those are input values only. Maybe you should be looking at ecpg
--- "bound variables" is an idea completely foreign to libpq.

regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 7: don't forget to increase your free space map settings

Browse pgsql-interfaces by date

  From Date Subject
Next Message Seamus Thomas Carroll 2005-02-10 03:02:05 Help with adding C-Language Functions
Previous Message Tom Lane 2005-02-09 04:49:13 Re: Can you bind output variables?