summaryrefslogtreecommitdiff
path: root/src/backend/catalog/index.c
diff options
context:
space:
mode:
authorTomas Vondra2024-12-17 14:40:07 +0000
committerTomas Vondra2024-12-17 14:40:07 +0000
commit8cd44db42a40056a701a4ae03d73bf2cd05781b1 (patch)
tree35d1738d395ecf801877e62379d744dc8910295d /src/backend/catalog/index.c
parentfb1a18810f07fc3b722392103d67ce8ed188b63d (diff)
Update comments about index parallel builds
Commit b43757171470 allowed parallel builds for BRIN, but left behind two comments claiming only btree indexes support parallel builds. Reported by Egor Rogov, along with similar issues in SGML docs. Backpatch to 17, where parallel builds for BRIN were introduced. Reported-by: Egor Rogov Backpatch-through: 17 Discussion: https://postgr.es/m/[email protected]
Diffstat (limited to 'src/backend/catalog/index.c')
-rw-r--r--src/backend/catalog/index.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/catalog/index.c b/src/backend/catalog/index.c
index 1c3a9e06d37..05dc6add7eb 100644
--- a/src/backend/catalog/index.c
+++ b/src/backend/catalog/index.c
@@ -2989,7 +2989,7 @@ index_build(Relation heapRelation,
/*
* Determine worker process details for parallel CREATE INDEX. Currently,
- * only btree has support for parallel builds.
+ * only btree and BRIN have support for parallel builds.
*
* Note that planner considers parallel safety for us.
*/