| От | Tom Lane |
|---|---|
| Тема | Re: possible minor EXPLAIN bug? |
| Дата | |
| Msg-id | 20052.1219155902@sss.pgh.pa.us обсуждение |
| Ответ на | possible minor EXPLAIN bug? ("Pavel Stehule" <pavel.stehule@gmail.com>) |
| Список | pgsql-hackers |
"Pavel Stehule" <pavel.stehule@gmail.com> writes:
> I thing so Agg node doesn't set width well:
The planner doesn't really bother to set the width correctly for any
expression-computing node. This is partly laziness, but OTOH it is
very hard to estimate a sane width for any function returning a
variable-width data type; eg what are the odds of a useful answer forselect repeat(textcol, intcol) from tab1;
For plan nodes that return just Vars it's easier, since we generally
have got stats about average column widths.
I think Agg just copies the width of its input ...
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера