Re: returning multiple results with stored procedures

From: Joe Conway <joseph(dot)conway(at)home(dot)com>
To: "Geoffrey J(dot) Gowey" <ggowey(at)rxhope(dot)com>
Cc: pgsql General List <pgsql-general(at)postgresql(dot)org>
Subject: Re: returning multiple results with stored procedures
Date: 2001-12-12 20:38:58
Message-ID: 3C17C062.3030801@home.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Geoffrey J. Gowey wrote:

> I was wandering through the source on how to send back multiple rows and
> columns and stumbled apon ExprMultipleResult mentioned in the README in
> src/backend/utils/fmgr/. Unfortunately, I'm not sure if this is or is
> not what I'm looking for. There's very little code using this feature
> and I could not find any documentation. Can anyone explain to me if
> this is what I need and, if so, how to implement it using Version 1
> style coding as well as any other helpful pieces of information?
>

You can return multiple rows, but not really multiple columns directly
(at least not yet). See contrib/dblink in the 7.2 beta for an example.

HTH,

--Joe

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2001-12-12 20:46:28 Re: exit status code table?
Previous Message Brian Hirt 2001-12-12 20:38:24 Re: ACK table corrupted, unique index violated.