Re: WIP: Allow SQL-language functions to reference parameters by parameter name

Поиск
Список
Период
Сортировка
От David E. Wheeler
Тема Re: WIP: Allow SQL-language functions to reference parameters by parameter name
Дата
Msg-id BDF350C1-A57D-436A-80F2-A876E47F971A@kineticode.com
обсуждение исходный текст
Ответ на Re: WIP: Allow SQL-language functions to reference parameters by parameter name  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Mar 25, 2011, at 11:23 PM, Tom Lane wrote:

> If this were PL/perl, or PL/almost-anything-except-SQL, I could get
> behind such a proposal.  But it's not, it's SQL; and SQL doesn't do
> things that way.  SQL's idea of disambiguation is qualified names.
> 
> And even more to the point: to the extent you think that weird syntax
> might be a suitable solution, you have to keep in mind that the SQL
> committee could take over any such syntax at the drop of a hat.
> See the recent unpleasantness concerning => ...

Perhaps we could use `=>varname`. ;-P

David



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Open issues for collations
Следующее
От: Alexander Korotkov
Дата:
Сообщение: Re: Proposal: q-gram GIN and GiST indexes