Call out vacuum considerations in create index docs
authorAlvaro Herrera <[email protected]>
Wed, 13 Jan 2021 20:55:41 +0000 (17:55 -0300)
committerAlvaro Herrera <[email protected]>
Wed, 13 Jan 2021 20:55:41 +0000 (17:55 -0300)
Back 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

doc/src/sgml/ref/create_index.sgml
doc/src/sgml/ref/reindex.sgml

index 6fff02d82430293b6574b67d368518e10be660a0..a5271a9f8f2e20fc0e3e6b63a29a529999dfb80d 100644 (file)
@@ -851,6 +851,12 @@ Indexes:
    to remove an index.
   </para>
 
+  <para>
+   Like any long-running transaction, <command>CREATE INDEX</command> on a
+   table can affect which tuples can be removed by concurrent
+   <command>VACUUM</command> on any other table.
+  </para>
+
   <para>
    Prior releases of <productname>PostgreSQL</productname> also had an
    R-tree index method.  This method has been removed because
index 6e1cf067130c924947e750231ac7a76f70801c3c..627b36300c984df281092d4447d0d7873e4d1794 100644 (file)
@@ -436,6 +436,12 @@ Indexes:
     CONCURRENTLY</command> cannot.
    </para>
 
+   <para>
+    Like any long-running transaction, <command>REINDEX</command> on a table
+    can affect which tuples can be removed by concurrent
+    <command>VACUUM</command> on any other table.
+   </para>
+
    <para>
     <command>REINDEX SYSTEM</command> does not support
     <command>CONCURRENTLY</command> since system catalogs cannot be reindexed