Skip to content

Commit 93c39f9

Browse files
committed
Call out vacuum considerations in create index docs
Backpatch to pg12, which is as far as it goes without conflicts. Author: James Coleman <[email protected]> Reviewed-by: "David G. Johnston" <[email protected]> Discussion: https://postgr.es/m/CAAaqYe9oEfbz7AxXq7OX+FFVi5w5p1e_Of8ON8ZnKO9QqBfmjg@mail.gmail.com
1 parent c21ea4d commit 93c39f9

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

doc/src/sgml/ref/create_index.sgml

+6
Original file line numberDiff line numberDiff line change
@@ -851,6 +851,12 @@ Indexes:
851851
to remove an index.
852852
</para>
853853

854+
<para>
855+
Like any long-running transaction, <command>CREATE INDEX</command> on a
856+
table can affect which tuples can be removed by concurrent
857+
<command>VACUUM</command> on any other table.
858+
</para>
859+
854860
<para>
855861
Prior releases of <productname>PostgreSQL</productname> also had an
856862
R-tree index method. This method has been removed because

doc/src/sgml/ref/reindex.sgml

+6
Original file line numberDiff line numberDiff line change
@@ -436,6 +436,12 @@ Indexes:
436436
CONCURRENTLY</command> cannot.
437437
</para>
438438

439+
<para>
440+
Like any long-running transaction, <command>REINDEX</command> on a table
441+
can affect which tuples can be removed by concurrent
442+
<command>VACUUM</command> on any other table.
443+
</para>
444+
439445
<para>
440446
<command>REINDEX SYSTEM</command> does not support
441447
<command>CONCURRENTLY</command> since system catalogs cannot be reindexed

0 commit comments

Comments
 (0)