Log Message:
-----------
Test HAVING condition before computing targetlist of an Aggregate node.
This is required by SQL spec to avoid failures in cases like
SELECT sum(win)/sum(lose) FROM ... GROUP BY ... HAVING sum(lose) > 0;
AFAICT we have gotten this wrong since day one. Kudos to Holger Jakobs
for being the first to notice.
Tags:
----
REL7_4_STABLE
Modified Files:
--------------
pgsql-server/src/backend/executor:
nodeAgg.c (r1.116.2.1 -> r1.116.2.2)
(http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/backend/executor/nodeAgg.c.diff?r1=1.116.2.1&r2=1.116.2.2)
Есть вопросы? Напишите нам!
Соглашаюсь с условиями обработки персональных данных
✖
By continuing to browse this website, you agree to the use of cookies. Go to Privacy Policy.