index 1c3a9e06d37b9bfce737c3259c95d6dec14dc25a..05dc6add7eb7b4819545a143294af7b9630bec59 100644 (file)
/*
* 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.
*/
index a0a2de7ee4b67b7fbd4896b5b5509d194a2b9162..f3856c519f604f2c8c09e34fdaa1995564d4dc68 100644 (file)
@@ -6758,7 +6758,8 @@ plan_cluster_use_sort(Oid tableOid, Oid indexOid)
* CREATE INDEX should request for use
*
* 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 a btree index).
+ * OID of an index to be created or reindexed (which must be an index with
+ * support for parallel builds - currently btree 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