pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Rajesh Kumar Mallah <mallah@trade-india.com>
To: Robert Treat <xzilla@users.sourceforge.net>
Cc: Sidar Lopez Cruz <sidarlopez@hotmail.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: PLSQL
Date: Thu, 27 Feb 2003 11:30:47 +0530
Message-ID: <200302271130.47545.mallah@trade-india.com> (raw)
In-Reply-To: <1046279051.1014.490.camel@camel>
References: <OE125mpHnoh8e3U5zjz00001e51@hotmail.com>
	<200302261243.10485.mallah@trade-india.com>
	<1046279051.1014.490.camel@camel>



Hmm i did'nt know its already there.

in anycase it does not tells abt the simplification 
that has been introduced in 7.3.x regarding SRFs.

regds
mallah.

4.25) How do I return multiple rows or columns from a function?

 

You can return result sets from PL/pgSQL functions using refcursors. See 
http://www.PostgreSQL.org/idocs/index.php?plpgsql-cursors.html, section 
23.7.3.3.



On Wednesday 26 February 2003 10:34 pm, Robert Treat wrote:
> You mean like http://www.postgresql.org/docs/faqs/FAQ.html#4.25 ?
>
> Robert Treat
>
> On Wed, 2003-02-26 at 02:13, Rajesh Kumar Mallah wrote:
> > Hmmm Looks like this has become a FAQ :-)
> >
> > reds
> > mallah.
> >
> > On Tuesday 25 February 2003 09:24 pm, Robert Treat wrote:
> > > In version 7.3 they can do so. There is a tutorial available at
> > > http://techdocs.postgresql.org/guides/SetReturningFunctions
> > >
> > > Robert Treat
> > >
> > > On Tue, 2003-02-25 at 10:33, Sidar Lopez Cruz wrote:
> > > > Can PostgreSQL functions return recordsets like stored procedures in
> > > > oracle?
> > > >
> > > > :-) Sidar Lopez Cruz
> > > >
> > > > - Cero Riesgo, S.A.
> > >
> > > ---------------------------(end of
> > > broadcast)--------------------------- TIP 1: subscribe and unsubscribe
> > > commands go to majordomo@postgresql.org
> >
> > --
> >
> > Regds
> > Mallah
> >
> > ----------------------------------------
> > Rajesh Kumar Mallah,
> > Project Manager (Development)
> > Infocom Network Limited, New Delhi
> > phone: +91(11)6152172 (221) (L) ,9811255597 (M)
> >
> > Visit http://www.trade-india.com ,
> > India's Leading B2B eMarketplace.
> >
> > ---------------------------(end of broadcast)---------------------------
> > TIP 2: you can get off all lists at once with the unregister command
> >     (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)

-- 

Regds
Mallah

----------------------------------------
Rajesh Kumar Mallah,
Project Manager (Development)
Infocom Network Limited, New Delhi
phone: +91(11)6152172 (221) (L) ,9811255597 (M)

Visit http://www.trade-india.com ,
India's Leading B2B eMarketplace.



view thread (9+ messages)  latest in thread

Message-ID: <200302271130.47545.mallah@trade-india.com>
Permalink:  ../200302271130.47545.mallah@trade-india.com/
Also on:    postgresql.org/message-id/200302271130.47545.mallah@trade-india.com

 · 

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 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-admin@postgresql.org
  Cc: mallah@trade-india.com, xzilla@users.sourceforge.net, sidarlopez@hotmail.com
  Subject: Re: PLSQL
  In-Reply-To: <200302271130.47545.mallah@trade-india.com>
  References: <OE125mpHnoh8e3U5zjz00001e51@hotmail.com> <200302261243.10485.mallah@trade-india.com> <1046279051.1014.490.camel@camel> <200302271130.47545.mallah@trade-india.com>

* 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