Re: proposal sql: labeled function params

Поиск
Список
Период
Сортировка
От Hannu Krosing
Тема Re: proposal sql: labeled function params
Дата
Msg-id 1219433482.7020.5.camel@huvostro
обсуждение исходный текст
Ответ на Re: proposal sql: labeled function params  (Decibel! <decibel@decibel.org>)
Ответы Re: proposal sql: labeled function params  (Teodor Sigaev <teodor@sigaev.ru>)
Re: proposal sql: labeled function params  ("Pavel Stehule" <pavel.stehule@gmail.com>)
Список pgsql-hackers
On Thu, 2008-08-21 at 23:41 -0500, Decibel! wrote:
> On Aug 20, 2008, at 8:26 AM, Pavel Stehule wrote:

> How about we poll -general and see what people say? I'll bet Tom a  
> beer that no one replies saying they've created a => operator (unless  
> maybe PostGIS uses it).

Does Oracle use => for "labeled function params" or just named
arguments ?

> If we're really worried about it we can have a GUC for a few versions  
> that turns off named parameter assignment. But I don't think we  
> should compromise the design on the theory that some folks might be  
> using that as an operator *and* can't change their application to  
> wrap it's use in ().

I still think that better approach is allowing RECORD as input type and
do all the things Pavel proposed with a function that iterates over
record.

--------------
Hannu




В списке pgsql-hackers по дате отправления:

Предыдущее
От: Hannu Krosing
Дата:
Сообщение: Re: [GENERAL] Surprising syntax error
Следующее
От: Teodor Sigaev
Дата:
Сообщение: Re: proposal sql: labeled function params