pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: mjc@comcast.net
Cc: pgsql-interfaces@postgresql.org
Subject: Re: Can you bind output variables?
Date: Tue, 08 Feb 2005 23:49:13 -0500
Message-ID: <12804.1107924553@sss.pgh.pa.us> (raw)
In-Reply-To: <020820052327.7493.42094ACE000C954400001D4522058861720C0603@comcast.net>
References: <020820052327.7493.42094ACE000C954400001D4522058861720C0603@comcast.net>

mjc@comcast.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



view thread (4+ messages)  latest in thread

Message-ID: <12804.1107924553@sss.pgh.pa.us>
Permalink:  ../12804.1107924553@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/12804.1107924553@sss.pgh.pa.us

 · 

reply

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 using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: tgl@sss.pgh.pa.us, mjc@comcast.net
  Subject: Re: Can you bind output variables?
  In-Reply-To: <12804.1107924553@sss.pgh.pa.us>

* 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