From: Michael Meskes <meskes@postgresql.org>
To: Roger Moloney <ramoloney@hotmail.com>
Cc: pgsql-interfaces@postgresql.org
Subject: Re: ecpg: HOW TO READ RECORD ??
Date: Sat, 25 Aug 2007 11:21:41 +0200
Message-ID: <20070825092141.GA16916@feivel.credativ.de> (raw)
In-Reply-To: <BAY115-F20EFAFF003B91E1FD30DE7AFD60@phx.gbl>
References: <BAY115-F20EFAFF003B91E1FD30DE7AFD60@phx.gbl>
On Thu, Aug 23, 2007 at 02:55:10PM +0000, Roger Moloney wrote:
> I'm having trouble trying to get embedded SQL to read the result of a
> plpgsql function which returns RECORD or SETOF RECORD.
> ...
> WHAT SHOULD THE ECPG PROGRAM LOOK LIKE THAT CAN READ THE DATA RETURNED ?
Any reason to shout? :-)
You call that function with a select, right? So where's the difference
between the handling of a "normal" select that returns more than one
tuple (e.g. in preproc/define.pgc) and yours?
Or what am I misunderstanding here?
Michael
--
Michael Meskes
Email: Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org)
ICQ: 179140304, AIM/Yahoo: michaelmeskes, Jabber: meskes@jabber.org
Go SF 49ers! Go Rhein Fire! Use Debian GNU/Linux! Use PostgreSQL!
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: meskes@postgresql.org, ramoloney@hotmail.com
Subject: Re: ecpg: HOW TO READ RECORD ??
In-Reply-To: <20070825092141.GA16916@feivel.credativ.de>
* 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