pgsql: Rename PathKeyInfo to GroupByOrdering

From: Alexander Korotkov <akorotkov(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Rename PathKeyInfo to GroupByOrdering
Date: 2024-06-06 10:45:49
Message-ID: E1sFAcu-000Fmw-LQ@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/0c1af2c35c7b456bd2fc76bbc9df5aa9c7911bde

Modified Files
--------------
src/backend/optimizer/path/pathkeys.c | 18 +++++++++---------
src/backend/optimizer/plan/planner.c | 8 ++++----
src/include/nodes/pathnodes.h | 13 ++++++++++---
src/tools/pgindent/typedefs.list | 2 +-
4 files changed, 24 insertions(+), 17 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Heikki Linnakangas 2024-06-06 15:56:59 pgsql: Make RelationFlushRelation() work without ResourceOwner during a
Previous Message Bruce Momjian 2024-06-06 00:53:17 pgsql: doc PG 17 relnotes: adjust integer bin/oct funcs and psql tab