diff --git a/doc/src/sgml/func/func-aggregate.sgml b/doc/src/sgml/func/func-aggregate.sgml
index 8b5eaeb2e94..bd9c777bc0a 100644
--- a/doc/src/sgml/func/func-aggregate.sgml
+++ b/doc/src/sgml/func/func-aggregate.sgml
@@ -18,6 +18,9 @@
linkend="functions-hypothetical-table"/>. Grouping operations,
which are closely related to aggregate functions, are listed in
.
+
+
+
The special syntax considerations for aggregate
functions are explained in .
Consult for additional introductory
@@ -25,15 +28,15 @@
- Aggregate functions that support Partial Mode
- are eligible to participate in various optimizations, such as parallel
- aggregation.
+ Aggregate functions that support Parallel Mode
+ are eligible to participate in various optimizations, as described in
+
While all aggregates below accept an optional
- ORDER BY clause (as outlined in ), the clause has only been added to
+ ORDER BY clause as outlined in , the clause has only been added to
aggregates whose output is affected by ordering.
@@ -50,7 +53,7 @@
Description
- Partial Mode
+ Parallel Mode
@@ -773,7 +776,7 @@ SELECT count(*) FROM sometable;
Description
- Partial Mode
+ Parallel Mode
@@ -1130,7 +1133,7 @@ SELECT count(*) FROM sometable;
Description
- Partial Mode
+ Parallel Mode
@@ -1265,7 +1268,7 @@ SELECT count(*) FROM sometable;
Description
- Partial Mode
+ Parallel Mode
diff --git a/doc/src/sgml/ref/create_aggregate.sgml b/doc/src/sgml/ref/create_aggregate.sgml
index 0472ac2e874..4e4d88e7941 100644
--- a/doc/src/sgml/ref/create_aggregate.sgml
+++ b/doc/src/sgml/ref/create_aggregate.sgml
@@ -236,8 +236,8 @@ CREATE [ OR REPLACE ] AGGREGATE name
- An aggregate can optionally support partial aggregation,
- as described in .
+ An aggregate can optionally support parallel aggregation,
+ as described in .
This requires specifying the COMBINEFUNC parameter.
If the state_data_type
is internal, it's usually also appropriate to provide the
@@ -449,7 +449,7 @@ SELECT col FROM tab ORDER BY col USING sortop LIMIT 1;
The combinefunc function
may optionally be specified to allow the aggregate function to support
- partial aggregation. If provided,
+ parallel aggregation. If provided,
the combinefunc must
combine two state_data_type
values, each containing the result of aggregation over some subset of
@@ -774,10 +774,10 @@ SELECT col FROM tab ORDER BY col USING sortop LIMIT 1;
- Partial (including parallel) aggregation is currently not supported for
+ Parallel aggregation is currently not supported for
ordered-set aggregates. Also, it will never be used for aggregate calls
that include DISTINCT or ORDER BY clauses, since
- those semantics cannot be supported during partial aggregation.
+ those semantics cannot be supported during parallel aggregation.
diff --git a/doc/src/sgml/xaggr.sgml b/doc/src/sgml/xaggr.sgml
index bdad8d3dc2b..fc019274770 100644
--- a/doc/src/sgml/xaggr.sgml
+++ b/doc/src/sgml/xaggr.sgml
@@ -518,17 +518,17 @@ SELECT percentile_disc(0.5) WITHIN GROUP (ORDER BY income) FROM households;
-
- Partial Aggregation
+
+ Parallel Aggregation
aggregate function
- partial aggregation
+ parallel aggregation
- Optionally, an aggregate function can support partial
- aggregation. The idea of partial aggregation is to run the aggregate's
+ Optionally, an aggregate function can support parallel
+ aggregation. The idea of parallel aggregation is to run the aggregate's
state transition function over different subsets of the input data
independently, and then to combine the state values resulting from those
subsets to produce the same state value that would have resulted from
@@ -542,7 +542,7 @@ SELECT percentile_disc(0.5) WITHIN GROUP (ORDER BY income) FROM households;
- To support partial aggregation, the aggregate definition must provide
+ To support parallel aggregation, the aggregate definition must provide
a combine function, which takes two values of the
aggregate's state type (representing the results of aggregating over two
subsets of the input rows) and produces a new value of the state type,
@@ -555,7 +555,7 @@ SELECT percentile_disc(0.5) WITHIN GROUP (ORDER BY income) FROM households;
As simple examples, MAX and MIN aggregates can be
- made to support partial aggregation by specifying the combine function as
+ made to support parallel aggregation by specifying the combine function as
the same greater-of-two or lesser-of-two comparison function that is used
as their transition function. SUM aggregates just need an
addition function as combine function. (Again, this is the same as their
@@ -571,7 +571,7 @@ SELECT percentile_disc(0.5) WITHIN GROUP (ORDER BY income) FROM households;
definition specifies a non-null initcond, keep in mind that
that will be used not only as the initial state for each partial
aggregation run, but also as the initial state for the combine function,
- which will be called to combine each partial result into that state.
+ which will be called to combine each parallel result into that state.