diff options
author | Fujii Masao <fujii@postgresql.org> | 2025-06-19 09:12:34 +0900 |
---|---|---|
committer | Fujii Masao <fujii@postgresql.org> | 2025-06-19 09:12:34 +0900 |
commit | db0c93f172a41515734a774f0412ff9557eca8ed (patch) | |
tree | 9d0f3973905ac9dda532c4e4c82e83b8525a546a /src | |
parent | b57d707708181f988fd1fa697976059510fc4f76 (diff) | |
download | postgresql-db0c93f172a41515734a774f0412ff9557eca8ed.tar.gz postgresql-db0c93f172a41515734a774f0412ff9557eca8ed.zip |
doc: Mention GIN indexes support parallel builds.
Commit 8492feb98f6 added support for parallel CREATE INDEX on GIN indexes.
However, previously two places in the documentation and two in the source
code comments still stated that only B-tree and BRIN indexes support
parallel builds.
This commit updates those references to correctly include GIN indexes.
Author: Fujii Masao <masao.fujii@gmail.com>
Reviewed-by: Robert Treat <rob@xzilla.net>
Discussion: https://postgr.es/m/7d27d068-90e2-4022-9bd7-09b0fd3d4f47@oss.nttdata.com
Diffstat (limited to 'src')
-rw-r--r-- | src/backend/catalog/index.c | 2 | ||||
-rw-r--r-- | src/backend/optimizer/plan/planner.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/catalog/index.c b/src/backend/catalog/index.c index 739a92bdcc1..aa216683b74 100644 --- a/src/backend/catalog/index.c +++ b/src/backend/catalog/index.c @@ -3020,7 +3020,7 @@ index_build(Relation heapRelation, /* * Determine worker process details for parallel CREATE INDEX. Currently, - * only btree and BRIN have support for parallel builds. + * only btree, GIN, and BRIN have support for parallel builds. * * Note that planner considers parallel safety for us. */ diff --git a/src/backend/optimizer/plan/planner.c b/src/backend/optimizer/plan/planner.c index ff65867eebe..549aedcfa99 100644 --- a/src/backend/optimizer/plan/planner.c +++ b/src/backend/optimizer/plan/planner.c @@ -6879,7 +6879,7 @@ plan_cluster_use_sort(Oid tableOid, Oid indexOid) * * tableOid is the table on which the index is to be built. indexOid is the * OID of an index to be created or reindexed (which must be an index with - * support for parallel builds - currently btree or BRIN). + * support for parallel builds - currently btree, GIN, or BRIN). * * Return value is the number of parallel worker processes to request. It * may be unsafe to proceed if this is 0. Note that this does not include the |