From a643d66ba152d241879a63b88dc5a5c787d6aab2 Mon Sep 17 00:00:00 2001
From: Tatsuro Yamada <yamatattsu@gmail.com>
Date: Mon, 29 Jun 2026 14:02:48 +0900
Subject: [PATCH 1/2] doc: Clarify enable_groupagg also covers Unique and SetOp
 plans

The parameter description mentioned only sort-based grouping and
aggregation plan types, but it also discourages sort-based Unique
and SetOp plans.  Mention them explicitly so users know the full
scope of the switch.
---
 doc/src/sgml/config.sgml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index a80df44786e..435730b5ac2 100644
--- a/doc/src/sgml/config.sgml
+++ b/doc/src/sgml/config.sgml
@@ -5870,7 +5870,8 @@ ANY <replaceable class="parameter">num_sync</replaceable> ( <replaceable class="
       <listitem>
        <para>
         Enables or disables the query planner's use of sort-based grouping
-        and aggregation plan types. The default is <literal>on</literal>.
+        and aggregation plan types. This also covers sort-based <literal>Unique</literal> and
+        <literal>SetOp</literal> plans. The default is <literal>on</literal>.
        </para>
       </listitem>
      </varlistentry>
-- 
2.47.3

