Doc: fix grammatical errors for enable_partitionwise_aggregate

Author: Andrew Atkinson
Reviewed-by: Ashutosh Bapat
Discussion: https://postgr.es/m/CAG6XLEnC%3DEgq0YHRic2kWWDs4xwQnQ_kBA6qhhzAq1-pO_9Tfw%40mail.gmail.com
Backpatch-through: 11, where enable_partitionwise_aggregate was added
This commit is contained in:
David Rowley 2023-10-12 21:17:49 +13:00
parent 07f261b317
commit 8f1d44b648
1 changed files with 8 additions and 7 deletions

View File

@ -3992,13 +3992,14 @@ ANY <replaceable class="parameter">num_sync</replaceable> ( <replaceable class="
<listitem> <listitem>
<para> <para>
Enables or disables the query planner's use of partitionwise grouping Enables or disables the query planner's use of partitionwise grouping
or aggregation, which allows grouping or aggregation on a partitioned or aggregation, which allows grouping or aggregation on partitioned
tables performed separately for each partition. If the <literal>GROUP tables to be performed separately for each partition. If the
BY</literal> clause does not include the partition keys, only partial <literal>GROUP BY</literal> clause does not include the partition
aggregation can be performed on a per-partition basis, and keys, only partial aggregation can be performed on a per-partition
finalization must be performed later. Because partitionwise grouping basis, and finalization must be performed later. Because
or aggregation can use significantly more CPU time and memory during partitionwise grouping or aggregation can use significantly more CPU
planning, the default is <literal>off</literal>. time and memory during planning, the default is
<literal>off</literal>.
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>