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

From Tom Lane
Subject Re: SQL: table function support
Date
Msg-id 17756.1213110597@sss.pgh.pa.us
Whole thread Raw
In response to Re: SQL: table function support  ("Pavel Stehule" <pavel.stehule@gmail.com>)
List pgsql-patches
"Pavel Stehule" <pavel.stehule@gmail.com> writes:
> what is more logical and consistent?

They're both utterly arbitrary, but the "setof" syntax has been in
Postgres since forever, and applies to more things than just "record".
The other one doesn't fit in with anything else --- it's just a
syntactic wart.

            regards, tom lane

pgsql-patches by date:

Previous
From: Tom Lane
Date:
Subject: Re: \timing on/off
Next
From: Alvaro Herrera
Date:
Subject: Re: SQL: table function support