Re: functional call named notation clashes with SQL feature

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: functional call named notation clashes with SQL feature
Дата
Msg-id 1274989072.18581.37.camel@vanquo.pezone.net
обсуждение исходный текст
Ответ на Re: functional call named notation clashes with SQL feature  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: functional call named notation clashes with SQL feature  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: functional call named notation clashes with SQL feature  (Bruce Momjian <bruce@momjian.us>)
Список pgsql-hackers
On tor, 2010-05-27 at 12:59 -0400, Tom Lane wrote:
> > I think we should fix it now.  Quick thought: maybe we could use
> FOR 
> > instead of AS: select myfunc(7 for a, 6 for b);
> 
> I'm afraid FOR doesn't work either; it'll create a conflict with the
> spec-defined SUBSTRING(x FOR y) syntax.

How about

select myfunc(a := 7, b := 6);

?



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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: JSON manipulation functions
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [RFC] Security label support