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

From Peter Eisentraut
Subject Re: WIP: default values for function parameters
Date
Msg-id 49462C73.1090009@gmx.net
Whole thread Raw
In response to Re: WIP: default values for function parameters  ("Pavel Stehule" <pavel.stehule@gmail.com>)
Responses Re: WIP: default values for function parameters  ("Pavel Stehule" <pavel.stehule@gmail.com>)
List pgsql-hackers
Pavel Stehule wrote:
> Because AS is signal for collecting column (or label) names.
> 
> I thing so we should use "AS" as Tom's proposal, together with SQL/XML
> functionality.

Yes, please implement that.

> It's only idea: default behave is using as for param name specification,
> 
> seconf with flag maybe labeled allows using AS in SQL/XML behave
> 
> But this syntax don't allow use this feature together (it is maybe enought).\
> 
> create function json(variadic labeled values int[]) ...

I didn't get that ... :-(


pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: WIP: default values for function parameters
Next
From: "Pavel Stehule"
Date:
Subject: Re: WIP: default values for function parameters