Skip to content

Commit a15e8ce

Browse files
committed
Docs: concurrent builds of partitioned indexes are not supported
Document that CREATE INDEX CONCURRENTLY is not currently supported for indexes on partitioned tables. Discussion: https://postgr.es/m/CAKJS1f_CErd2z9L21Q8OGLD4TgH7yw1z9MAtHTSO13sXVG-yow@mail.gmail.com Backpatch-through: 11
1 parent a99b653 commit a15e8ce

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

doc/src/sgml/ref/create_index.sgml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -586,6 +586,16 @@ Indexes:
586586
within a transaction block, but <command>CREATE INDEX CONCURRENTLY</command>
587587
cannot.
588588
</para>
589+
590+
<para>
591+
Concurrent builds for indexes on partitioned tables are currently not
592+
supported. However, you may concurrently build the index on each
593+
partition individually and then finally create the partitioned index
594+
non-concurrently in order to reduce the time where writes to the
595+
partitioned table will be locked out. In this case, building the
596+
partitioned index is a metadata only operation.
597+
</para>
598+
589599
</refsect2>
590600
</refsect1>
591601

0 commit comments

Comments
 (0)