mirror of
https://github.com/postgres/postgres.git
synced 2025-07-30 11:03:19 +03:00
Remove no-longer-accurate claim that REINDEX won't invalidate cached
plans.
This commit is contained in:
@ -1,5 +1,5 @@
|
|||||||
<!--
|
<!--
|
||||||
$PostgreSQL: pgsql/doc/src/sgml/ref/reindex.sgml,v 1.36 2007/01/31 23:26:04 momjian Exp $
|
$PostgreSQL: pgsql/doc/src/sgml/ref/reindex.sgml,v 1.37 2007/11/18 18:42:03 tgl Exp $
|
||||||
PostgreSQL documentation
|
PostgreSQL documentation
|
||||||
-->
|
-->
|
||||||
|
|
||||||
@ -231,9 +231,7 @@ REINDEX { INDEX | TABLE | DATABASE | SYSTEM } <replaceable class="PARAMETER">nam
|
|||||||
subsequent <command>CREATE INDEX</> locks out writes but not reads; since
|
subsequent <command>CREATE INDEX</> locks out writes but not reads; since
|
||||||
the index is not there, no read will attempt to use it, meaning that there
|
the index is not there, no read will attempt to use it, meaning that there
|
||||||
will be no blocking but reads might be forced into expensive sequential
|
will be no blocking but reads might be forced into expensive sequential
|
||||||
scans. Another important point is that the drop/create approach
|
scans.
|
||||||
invalidates any cached query plans that use the index, while
|
|
||||||
<command>REINDEX</> does not.
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
|
Reference in New Issue
Block a user