Re: [BUGS] Improper const-evaluation of HAVING with grouping sets and subquery pullup
В списке pgsql-bugs по дате отправления:
| От | Andrew Gierth |
|---|---|
| Тема | Re: [BUGS] Improper const-evaluation of HAVING with grouping sets and subquery pullup |
| Дата | |
| Msg-id | 8760bfku2u.fsf@news-spur.riddles.org.uk обсуждение исходный текст |
| Ответ на | Re: [BUGS] Improper const-evaluation of HAVING with grouping sets and subquery pullup (Tom Lane <tgl@sss.pgh.pa.us>) |
| Ответы |
Re: [BUGS] Improper const-evaluation of HAVING with grouping sets and subquery pullup
|
| Список | pgsql-bugs |
>>>>> "Tom" == Tom Lane <tgl@sss.pgh.pa.us> writes: >> Further experimentation reveals that this change has the effect of>> blocking constant-folding in aggregate input expressionsthat refer>> to constant outputs of the subquery. Is it worth doing anything>> about that? Tom> Uh ... but I thought the point here is that the outputs aren'tTom> really constant in the presence of grouping sets. select x, y, sum(z) from (select 1 as x, 2 as y, 3 as z) sgroup by grouping sets (x,y); x and y aren't constants, but z is. -- Andrew (irc:RhodiumToad) -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs
В списке pgsql-bugs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера