| От | Tom Lane |
|---|---|
| Тема | Re: Why does TRIM() expect an expr_list? |
| Дата | |
| Msg-id | 15560.1271783363@sss.pgh.pa.us обсуждение |
| Ответ на | Re: Why does TRIM() expect an expr_list? (Korry Douglas <korry.douglas@enterprisedb.com>) |
| Список | pgsql-hackers |
Korry Douglas <korry.douglas@enterprisedb.com> writes:
>> That will break the ability to call trim() with ordinary function
>> syntax.
> Hmm... it seems counterintuitive to call TRIM() using ordinary
> function syntax anyway. What would the argument list look like?
"foo, bar, baz", just like any other function. This is important because
we don't use the weird keyword-ized syntax when dumping out function
calls in rules and suchlike. Also, in general it's preferable to not
prevent users from creating their own functions that happen to be named
like a system function. (I think the current code fails to achieve that
last goal because of the forced function name remapping, but perhaps it
should be fixed if we're going to mess with it.)
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера