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
This commit is contained in:
Alvaro Herrera 2021-01-13 17:55:41 -03:00
parent 6b045ca6cc
commit c285a244f6
No known key found for this signature in database
GPG Key ID: 1C20ACB9D5C564AE
2 changed files with 12 additions and 0 deletions

View File

@ -823,6 +823,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

View File

@ -404,6 +404,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