Re: named parameters in SQL functions
| От | Andrew Chernow |
|---|---|
| Тема | Re: named parameters in SQL functions |
| Дата | |
| Msg-id | 4B0052F4.7040502@esilo.com обсуждение исходный текст |
| Ответ на | Re: named parameters in SQL functions (Pavel Stehule <pavel.stehule@gmail.com>) |
| Ответы |
Re: named parameters in SQL functions
|
| Список | pgsql-hackers |
>> I like the special marker idea. A '$' would be nice because its already in >> use for similar purposes, but I think that would lead to ambiguity with >> dollar quoting. > > no, it should be safe (if you don't use for dollar quoting some like > $variablename$) > Actually, I was thinking of something like $abc$def, where abc and def are variables. Although, this is much less likely than column name conflicts. Other possibles are: $(var), @var@, or %var%. I'd perfer a single character marker but that may not fly. -- Andrew Chernow eSilo, LLC every bit counts http://www.esilo.com/
В списке pgsql-hackers по дате отправления: