Received: from smtp011.mail.yahoo.com (smtp011.mail.yahoo.com [216.136.173.31]) by postgresql.org (8.11.3/8.11.1) with SMTP id f6UI3bf68353 for ; Mon, 30 Jul 2001 14:03:37 -0400 (EDT) (envelope-from janwieck@yahoo.com) Received: from jupiter.us.greatbridge.com (65.196.69.55) by smtp.mail.vip.sc5.yahoo.com with SMTP; 30 Jul 2001 18:03:35 -0000 X-Apparently-From: Received: (from wieck@localhost) by jupiter.us.greatbridge.com (8.11.2/8.11.2) id f6UIBWW07713; Mon, 30 Jul 2001 14:11:32 -0400 From: Jan Wieck Message-Id: <200107301811.f6UIBWW07713@jupiter.us.greatbridge.com> Subject: Re: plpgsql function return multiple values? In-Reply-To: <003101c1191f$928588f0$234145ab@cisco.com> from John Oakes at "Jul 30, 2001 10:46:33 am" To: John Oakes Date: Mon, 30 Jul 2001 14:11:32 -0400 (EDT) CC: pgsql-sql@postgresql.org X-Mailer: ELM [version 2.4ME+ PL68 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Archive-Number: 200107/385 X-Sequence-Number: 4199 John Oakes wrote: > Is it possible for a plpgsql function to return a record? I need to return > multiple values, and preferably in the form of a record. Thanks in advance! Not useful in any released version of PostgreSQL. In v7.2 you'll have at least the possibility to return a cursor. Don't know yet if I'll be able to add the general RETURN ... AND RESUME. Jan -- #======================================================================# # It's easier to get forgiveness for being wrong than for being right. # # Let's break this rule - forgive me. # #================================================== JanWieck@Yahoo.com # _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com