Re: WIP: Allow SQL-language functions to reference parameters by parameter name
В списке pgsql-hackers по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: WIP: Allow SQL-language functions to reference parameters by parameter name |
| Дата | |
| Msg-id | 26416.1301096707@sss.pgh.pa.us обсуждение |
| Ответ на | Re: WIP: Allow SQL-language functions to reference parameters by parameter name (Robert Haas <robertmhaas@gmail.com>) |
| Ответы |
Re: WIP: Allow SQL-language functions to reference parameters by parameter name
|
| Список | pgsql-hackers |
Robert Haas <robertmhaas@gmail.com> writes:
> On Mar 25, 2011, at 4:20 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> But I don't think that's necessary. Up to now there's been relatively
>> little use for naming the parameters of SQL functions, so I think there
>> will be few conflicts in the field if we just change the behavior.
> Oh wow, I don't agree with that at all. People may name the parameters for documentation purposes, and then have
thingslike WHERE foo = $1, foo happening also to be the name associated with $1. Boom!
Well, maybe, but it's not like it's subtle or hard to fix.
> In any case, I think this is 9.2 material.
Oh, of course. It *is* just a WIP patch, anyway.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера