Skip to content

Commit f5dec4e

Browse files
committed
doc: Mention BRIN indexes support parallel builds
Two places in the documentation suggest B-tree is the only index access method allowing parallel builds. Commit b437571 added parallel builds for BRIN too, but failed to update the docs. So fix that, and backpatch to 17, where parallel BRIN builds were introduced. Author: Egor Rogov Backpatch-through: 17 Discussion: https://postgr.es/m/114e2d5d-125e-07d8-94aa-5ad175fb7443@postgrespro.ru
1 parent d1253c6 commit f5dec4e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

doc/src/sgml/config.sgml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2810,7 +2810,7 @@ include_dir 'conf.d'
28102810
Sets the maximum number of parallel workers that can be
28112811
started by a single utility command. Currently, the parallel
28122812
utility commands that support the use of parallel workers are
2813-
<command>CREATE INDEX</command> only when building a B-tree index,
2813+
<command>CREATE INDEX</command> when building a B-tree or BRIN index,
28142814
and <command>VACUUM</command> without <literal>FULL</literal>
28152815
option. Parallel workers are taken from the pool of processes
28162816
established by <xref linkend="guc-max-worker-processes"/>, limited

doc/src/sgml/ref/create_index.sgml

+1-1
Original file line numberDiff line numberDiff line change
@@ -808,7 +808,7 @@ Indexes:
808808
leveraging multiple CPUs in order to process the table rows faster.
809809
This feature is known as <firstterm>parallel index
810810
build</firstterm>. For index methods that support building indexes
811-
in parallel (currently, only B-tree),
811+
in parallel (currently, B-tree and BRIN),
812812
<varname>maintenance_work_mem</varname> specifies the maximum
813813
amount of memory that can be used by each index build operation as
814814
a whole, regardless of how many worker processes were started.

0 commit comments

Comments
 (0)