| От | Tom Lane |
|---|---|
| Тема | Re: Update |
| Дата | |
| Msg-id | 2092.987131009@sss.pgh.pa.us обсуждение |
| Ответ на | Update (Kyle <kyle@actarg.com>) |
| Список | pgsql-sql |
Kyle <kyle@Actarg.com> writes:
> It appears that the first function would get evaluated first under 7.0.3
> but the last function gets evaluated first under 7.1. Is that accurate?
Actually, I was under the impression that (all else being equal) WHERE
clauses would get evaluated right-to-left in 7.0.* as well. I was
meaning to figure out where the clause order reversal is happening and
undo it, but didn't get around to it for 7.1.
> Is there a way to control which functions are given precidence?
Nope, not at the moment. The code has remnants of a notion of cost of
evaluation for functions, but it's not being used for anything ...
regards, tom lane
В списке pgsql-sql по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера