From: | "Greg Stark" <greg(dot)stark(at)enterprisedb(dot)com> |
---|---|
To: | "Pavel Stehule" <pavel(dot)stehule(at)gmail(dot)com> |
Cc: | "Peter Eisentraut" <peter_e(at)gmx(dot)net>, <pgsql-hackers(at)postgresql(dot)org>, "Decibel!" <decibel(at)decibel(dot)org>, "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "Robert Haas" <robertmhaas(at)gmail(dot)com>, "Bruce Momjian" <bruce(at)momjian(dot)us>, "Hannu Krosing" <hannu(at)2ndquadrant(dot)com> |
Subject: | Re: proposal sql: labeled function params |
Date: | 2008-08-23 19:33:58 |
Message-ID: | 3819879A-7495-4E6D-9552-58222371430D@enterprisedb.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
>>
>> At any point in this discussion has anyone explained why these
>> labels would
>> actually be a good idea?
>>
>
> it's allows smart libraries like SQL/XML
You could always just pass the label as an additional parameter. Which
is all this would be syntactic sugar for anyways. So it doesn't
"allow" such libraries it just let users type foo(bar=>'baz') instead
of foo('bar','baz'). Not much gain for all this pain.
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2008-08-23 19:49:44 | Re: [GENERAL] Surprising syntax error |
Previous Message | Pavel Stehule | 2008-08-23 19:19:26 | Re: proposal sql: labeled function params |