pgsql: Fix out-dated comment in preprocess_groupclause() - Mailing list pgsql-committers

From David Rowley
Subject pgsql: Fix out-dated comment in preprocess_groupclause()
Date
Msg-id E1oaO75-00163t-2t@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Fix out-dated comment in preprocess_groupclause()

The comment claimed we don't consider other orders of the GROUP BY clause,
but this is no longer true as of db0d67db2.

Discussion: https://postgr.es/m/CAApHDvq65=9Ro+hLX1i9ugWEiNDvHrBibAO7ARcTnf38_JE+UQ@mail.gmail.com
Backpatch-through: 15, where db0d67db2 was introduced.

Branch
------
REL_15_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/f6c70b81802a869303be9916d1a64a15f4dd29d1

Modified Files
--------------
src/backend/optimizer/plan/planner.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)


pgsql-committers by date:

Previous
From: David Rowley
Date:
Subject: pgsql: Fix out-dated comment in preprocess_groupclause()
Next
From: David Rowley
Date:
Subject: pgsql: Fix misleading comment for get_cheapest_group_keys_order