Re: Add proper planner support for ORDER BY / DISTINCT aggregates
В списке pgsql-hackers по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: Add proper planner support for ORDER BY / DISTINCT aggregates |
| Дата | |
| Msg-id | 2909364.1673939119@sss.pgh.pa.us обсуждение |
| Ответ на | Re: Add proper planner support for ORDER BY / DISTINCT aggregates (Richard Guo <guofenglinux@gmail.com>) |
| Ответы |
Re: Add proper planner support for ORDER BY / DISTINCT aggregates
|
| Список | pgsql-hackers |
Richard Guo <guofenglinux@gmail.com> writes:
> BTW, I wonder if we should have checked CoercionForm before
> fix_upper_expr_mutator steps into CoerceViaIO->arg to adjust the expr
> there.
I will just quote what it says in primnodes.h:
* NB: equal() ignores CoercionForm fields, therefore this *must* not carry
* any semantically significant information.
If you think the planner should act differently for different values of
CoercionForm, you are mistaken. Maybe this is evidence of some
previous bit of brain-fade, but if so we need to fix that.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера