Commit 93c39f98 authored by Alvaro Herrera's avatar Alvaro Herrera

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: default avatar"David G. Johnston" <david.g.johnston@gmail.com>
Discussion: https://postgr.es/m/CAAaqYe9oEfbz7AxXq7OX+FFVi5w5p1e_Of8ON8ZnKO9QqBfmjg@mail.gmail.com
parent c21ea4d5
...@@ -851,6 +851,12 @@ Indexes: ...@@ -851,6 +851,12 @@ Indexes:
to remove an index. to remove an index.
</para> </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> <para>
Prior releases of <productname>PostgreSQL</productname> also had an Prior releases of <productname>PostgreSQL</productname> also had an
R-tree index method. This method has been removed because R-tree index method. This method has been removed because
......
...@@ -436,6 +436,12 @@ Indexes: ...@@ -436,6 +436,12 @@ Indexes:
CONCURRENTLY</command> cannot. CONCURRENTLY</command> cannot.
</para> </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> <para>
<command>REINDEX SYSTEM</command> does not support <command>REINDEX SYSTEM</command> does not support
<command>CONCURRENTLY</command> since system catalogs cannot be reindexed <command>CONCURRENTLY</command> since system catalogs cannot be reindexed
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment