Fix out-dated comment in preprocess_groupclause()

David Rowley <drowley@postgresql.org>

Commit: 78a9af1a27641ad983354bbaaaa4b7c00ea390f6
Author: David Rowley <drowley@postgresql.org>
Date: 2022-09-19T21:13:49Z
Releases: 16.0
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.

Files

PathChange+/−
src/backend/optimizer/plan/planner.c modified +3 −2

Discussion