X-Original-To: pgsql-admin@postgresql.org Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id EBB17475A09 for ; Thu, 27 Feb 2003 01:15:00 -0500 (EST) Received: from postgresql.org ([64.49.215.8]) by localhost (postgresql.org [64.49.215.8:10024]) (amavisd-new) with SMTP id 15442-02 for ; Thu, 27 Feb 2003 01:14:50 -0500 (EST) Received: from rtlocal.trade-india.com (mail-relay.trade-india.com [203.196.129.235]) by postgresql.org (Postfix) with SMTP id 5D5B8475A6D for ; Thu, 27 Feb 2003 01:00:52 -0500 (EST) Received: (qmail 11272 invoked from network); 27 Feb 2003 05:59:09 -0000 Received: from unknown (HELO system67.trade-india-local.com) (192.168.0.67) by infocom-236-129-del.trade-india.com with SMTP; 27 Feb 2003 05:59:09 -0000 From: Rajesh Kumar Mallah Organization: Infocom Network Limited To: Robert Treat Subject: Re: PLSQL Date: Thu, 27 Feb 2003 11:30:47 +0530 User-Agent: KMail/1.5 Cc: Sidar Lopez Cruz , pgsql-admin@postgresql.org References: <200302261243.10485.mallah@trade-india.com> <1046279051.1014.490.camel@camel> In-Reply-To: <1046279051.1014.490.camel@camel> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200302271130.47545.mallah@trade-india.com> X-Virus-Scanned: by amavisd-new X-Archive-Number: 200302/411 X-Sequence-Number: 7609 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.