Re: SQL: table function support - Mailing list pgsql-patches

From David Fetter
Subject Re: SQL: table function support
Date
Msg-id 20080612154328.GC30268@fetter.org
Whole thread Raw
In response to Re: SQL: table function support  (Neil Conway <neilc@samurai.com>)
Responses Re: SQL: table function support
List pgsql-patches
On Mon, Jun 09, 2008 at 05:56:59PM -0700, Neil Conway wrote:
> On Tue, 2008-06-03 at 13:03 +0200, Pavel Stehule wrote:
> > this patch add support of table functions syntax like ANSI SQL
> > 2003.
>
> I'm not necessarily opposed to this, but I wonder if we really need
> *more* syntax variants for declaring set-returning functions. The
> existing patchwork of features is confusing enough as it is...

The way we declare set-returning functions ranges from odd to
byzantine.  A clear, easy-to-understand syntax (even if it's just
sugar over something else) like Pavel's would go a long way toward
getting developers actually to use them.

Cheers,
David.
--
David Fetter <david@fetter.org> http://fetter.org/
Phone: +1 415 235 3778  AIM: dfetter666  Yahoo!: dfetter
Skype: davidfetter      XMPP: david.fetter@gmail.com

Remember to vote!
Consider donating to Postgres: http://www.postgresql.org/about/donate

pgsql-patches by date:

Previous
From: Tom Lane
Date:
Subject: Re: Better formatting of functions in pg_dump
Next
From: Tom Lane
Date:
Subject: Re: SQL: table function support