Commit 7129f26b authored by Tom Lane's avatar Tom Lane

Remove no-longer-accurate claim that REINDEX won't invalidate cached

plans.
parent b13602c6
<!-- <!--
$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 ...@@ -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>
......
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