Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit c285a24

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 <jtc331@gmail.com> Reviewed-by: "David G. Johnston" <david.g.johnston@gmail.com> Discussion: https://postgr.es/m/CAAaqYe9oEfbz7AxXq7OX+FFVi5w5p1e_Of8ON8ZnKO9QqBfmjg@mail.gmail.com
1 parent 6b045ca commit c285a24

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
@@ -823,6 +823,12 @@ Indexes:
823823
to remove an index.
824824
</para>
825825

826+
<para>
827+
Like any long-running transaction, <command>CREATE INDEX</command> on a
828+
table can affect which tuples can be removed by concurrent
829+
<command>VACUUM</command> on any other table.
830+
</para>
831+
826832
<para>
827833
Prior releases of <productname>PostgreSQL</productname> also had an
828834
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
@@ -404,6 +404,12 @@ Indexes:
404404
CONCURRENTLY</command> cannot.
405405
</para>
406406

407+
<para>
408+
Like any long-running transaction, <command>REINDEX</command> on a table
409+
can affect which tuples can be removed by concurrent
410+
<command>VACUUM</command> on any other table.
411+
</para>
412+
407413
<para>
408414
<command>REINDEX SYSTEM</command> does not support
409415
<command>CONCURRENTLY</command> since system catalogs cannot be reindexed

0 commit comments

Comments
 (0)