Re: proposal sql: labeled function params

From: "Pavel Stehule" <pavel(dot)stehule(at)gmail(dot)com>
To: "Peter Eisentraut" <peter_e(at)gmx(dot)net>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: proposal sql: labeled function params
Date: 2008-08-15 12:54:26
Message-ID: 162867790808150554obc5b85dpd1c52dd497e911ee@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

2008/8/15 Peter Eisentraut <peter_e(at)gmx(dot)net>:
> 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?
>

JSON and similar (custom) protocols

Pavel

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2008-08-15 12:54:40 Re: XML / XSL rendering in PostgreSQL server?
Previous Message Peter Eisentraut 2008-08-15 12:52:51 Re: proposal sql: labeled function params