From f44436b9ebd3f63cdd4d1d3e1b46a8f660e5edac Mon Sep 17 00:00:00 2001 From: Alexander Korotkov Date: Tue, 18 Jun 2024 15:08:17 +0300 Subject: [PATCH v2] Add doc entry for the new GUC paramenter enable_group_by_reordering 0452b461bc4 adds alternative orderings of group-by keys during the query optimization. This new feature is controlled by the new GUC parameter enable_group_by_reordering, which accidentally came without the documentation. This commit adds the missing documentation for that GUC. Reported-by: Bruce Momjian Discussion: https://postgr.es/m/ZnDx2FYlba_OafQd%40momjian.us Author: Andrei Lepikhov --- doc/src/sgml/config.sgml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml index 698169afdb6..d45cb02ad15 100644 --- a/doc/src/sgml/config.sgml +++ b/doc/src/sgml/config.sgml @@ -5327,6 +5327,24 @@ ANY num_sync ( + enable_group_by_reordering (boolean) + + enable_group_by_reordering configuration parameter + + + + + Enables or disables the reordering of keys in a + GROUP BY clause to match the ordering keys of a + child node of the plan, such as an index scan. When turned off, keys + in a GROUP BY clause are only reordered to match + the ORDER BY clause, if any. The default is + on. + + + + enable_gathermerge (boolean) -- 2.39.3 (Apple Git-145)