Re: WIP: default values for function parameters - Mailing list pgsql-hackers

From Tom Lane
Subject Re: WIP: default values for function parameters
Date
Msg-id 12845.1229203954@sss.pgh.pa.us
Whole thread Raw
In response to Re: WIP: default values for function parameters  (Dimitri Fontaine <dfontaine@hi-media.com>)
Responses Re: WIP: default values for function parameters  (Dimitri Fontaine <dfontaine@hi-media.com>)
List pgsql-hackers
Dimitri Fontaine <dfontaine@hi-media.com> writes:
> What if relabeling support were to spread some more?

Spread to what?  AFAICS the way that XMLELEMENT uses AS is a
single-purpose wart (much like a lot of other stuff the SQL committee
invents :-().  I do not see a need to reserve AS in function argument
lists for that purpose.  In any case, the proposed meaning here is only
relevant to functions that expose names for their parameters; so in
principle you could still do something like what XMLELEMENT does for any
function that does not create names for its parameters.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Markus Wanner
Date:
Subject: Re: Sync Rep: First Thoughts on Code
Next
From: Dimitri Fontaine
Date:
Subject: Re: WIP: default values for function parameters