| От | Tom Lane |
|---|---|
| Тема | Re: bugfix - VIP: variadic function ignore strict flag |
| Дата | |
| Msg-id | 17604.1265736906@sss.pgh.pa.us обсуждение |
| Ответ на | Re: bugfix - VIP: variadic function ignore strict flag (Pavel Stehule <pavel.stehule@gmail.com>) |
| Ответы |
Re: bugfix - VIP: variadic function ignore strict flag
|
| Список | pgsql-hackers |
Pavel Stehule <pavel.stehule@gmail.com> writes:
> 2010/2/9 Tom Lane <tgl@sss.pgh.pa.us>:
>> I don't think this is right at all.
> yes, this isn't clear. My arguments for change:
> a) the behave depends on types - "any" is different than others.
So what? "variadic any" is different in a lot of ways.
> b) optimization over fmgr doesn't work now.
> b1. some possible const null and strict are ignored
That's a matter of definition.
> b2. array is non const always - so pre eval doesn't work for variadic
You'd need to explain what you mean by that. An ARRAY[] construct is
subject to const-folding AFAICS.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера