Re: Digging gram.y - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Digging gram.y
Date
Msg-id 8240.1159980055@sss.pgh.pa.us
Whole thread Raw
In response to Digging gram.y  (Teodor Sigaev <teodor@sigaev.ru>)
Responses Re: Digging gram.y  (Teodor Sigaev <teodor@sigaev.ru>)
List pgsql-hackers
Teodor Sigaev <teodor@sigaev.ru> writes:
> May I eliminate SETOF from Typename and leave it 
> only for RETURNS?

Why do you want to?

I think the reason it's in Typename is the assumption that in future
we would try to extend the applicability of SETOF, not restrict it.
For instance I can see reasons for wanting SETOF on a function's input
parameter (to pass it a whole table or select result in one call).
        regards, tom lane


pgsql-hackers by date:

Previous
From: "Strong, David"
Date:
Subject: Another aspect of set_ps_display ()
Next
From: Tom Lane
Date:
Subject: Re: [PATCHES] qsort_arg needed for msvc build