Skip site navigation (1) Skip section navigation (2)

Re: functions vs stored procedures

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Ezequiel Tolnay <mail(at)etolnay(dot)com(dot)ar>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: functions vs stored procedures
Date: 2005-07-14 13:17:05
Message-ID: 14063.1121347025@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-admin
Ezequiel Tolnay <mail(at)etolnay(dot)com(dot)ar> writes:
> I just can't get used to the annoyance of having to create a type for 
> every single function that returns a rowset. It is frankly cumbersome.

Yup.  See coming attractions at, eg,
http://developer.postgresql.org/docs/postgres/xfunc-sql.html#XFUNC-OUTPUT-PARAMETERS
http://developer.postgresql.org/docs/postgres/plpgsql-declarations.html#PLPGSQL-DECLARATION-ALIASES

			regards, tom lane

In response to

Responses

pgsql-admin by date

Next:From: Stephan SzaboDate: 2005-07-14 14:29:51
Subject: Re: LOOP and EXIT
Previous:From: Patrick IsaacDate: 2005-07-14 13:14:15
Subject: Install Problem on Windows XP Home - Password Issue

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group