mirror of
https://github.com/postgres/postgres.git
synced 2025-06-13 07:41:39 +03:00
as both a GROUP BY item and an output expression, the top-level Group node should just copy up the evaluated expression value from its input, rather than re-evaluating the expression. Aside from any performance benefit this might offer, this avoids a crash when there is a sub-SELECT in said expression.