Rename PathKeyInfo to GroupByOrdering
authorAlexander Korotkov
Thu, 6 Jun 2024 10:43:24 +0000 (13:43 +0300)
committerAlexander Korotkov
Thu, 6 Jun 2024 10:43:24 +0000 (13:43 +0300)
commit0c1af2c35c7b456bd2fc76bbc9df5aa9c7911bde
tree05088838be5bebc85300b8e2a2c9389fcea20341
parent91143c03d4ca36406a53e05cd421b19e47d131d1
Rename PathKeyInfo to GroupByOrdering

0452b461bc made optimizer explore alternative orderings of group-by pathkeys.
The PathKeyInfo data structure was used to store the particular ordering of
group-by pathkeys and corresponding clauses.  It turns out that PathKeyInfo
is not the best name for that purpose.  This commit renames this data structure
to GroupByOrdering, and revises its comment.

Discussion: https://postgr.es/m/db0fc3a4-966c-4cec-a136-94024d39212d%40postgrespro.ru
Reported-by: Tom Lane
Author: Andrei Lepikhov
Reviewed-by: Alexander Korotkov, Pavel Borisov
src/backend/optimizer/path/pathkeys.c
src/backend/optimizer/plan/planner.c
src/include/nodes/pathnodes.h
src/tools/pgindent/typedefs.list