Skip to content

Commit 6c0c283

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 b250898 commit 6c0c283

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

doc/src/sgml/ref/create_index.sgml

+10
Original file line numberDiff line numberDiff line change
@@ -615,6 +615,16 @@ Indexes:
615615
within a transaction block, but <command>CREATE INDEX CONCURRENTLY</command>
616616
cannot.
617617
</para>
618+
619+
<para>
620+
Concurrent builds for indexes on partitioned tables are currently not
621+
supported. However, you may concurrently build the index on each
622+
partition individually and then finally create the partitioned index
623+
non-concurrently in order to reduce the time where writes to the
624+
partitioned table will be locked out. In this case, building the
625+
partitioned index is a metadata only operation.
626+
</para>
627+
618628
</refsect2>
619629
</refsect1>
620630

0 commit comments

Comments
 (0)