Re: proposal sql: labeled function params - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: proposal sql: labeled function params
Date
Msg-id 200808151552.53466.peter_e@gmx.net
Whole thread Raw
In response to proposal sql: labeled function params  ("Pavel Stehule" <pavel.stehule@gmail.com>)
Responses Re: proposal sql: labeled function params  ("Pavel Stehule" <pavel.stehule@gmail.com>)
List pgsql-hackers
Am Thursday, 14. August 2008 schrieb Pavel Stehule:
> I propose enhance current syntax that allows to specify label for any
> function parameter:
>
> fcename(expr [as label], ...)
> fcename(colname, ...)
>
> I would to allow  same behave of custom functions like xmlforest function:
> postgres=# select xmlforest(a) from foo;
>  xmlforest
> -----------
>  <a>10</a>
> (1 row)

Do you have a use case for this outside of XML?


pgsql-hackers by date:

Previous
From: "Peter Sampson"
Date:
Subject: Re: XML / XSL rendering in PostgreSQL server?
Next
From: Peter Eisentraut
Date:
Subject: Re: XML / XSL rendering in PostgreSQL server?