From 7129f26be0586b333a0a3386b3a4661c36148f48 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Sun, 18 Nov 2007 18:42:03 +0000 Subject: [PATCH] Remove no-longer-accurate claim that REINDEX won't invalidate cached plans. --- doc/src/sgml/ref/reindex.sgml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/doc/src/sgml/ref/reindex.sgml b/doc/src/sgml/ref/reindex.sgml index d6d1a13279..03e2736f79 100644 --- a/doc/src/sgml/ref/reindex.sgml +++ b/doc/src/sgml/ref/reindex.sgml @@ -1,5 +1,5 @@ @@ -231,9 +231,7 @@ REINDEX { INDEX | TABLE | DATABASE | SYSTEM } nam subsequent CREATE INDEX locks out writes but not reads; since 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 - scans. Another important point is that the drop/create approach - invalidates any cached query plans that use the index, while - REINDEX does not. + scans. -- 2.40.0