doc: Clarify behavior of query planner locking with REINDEX

Michael Paquier <michael@paquier.xyz>

Commit: 8ac700acffc7b17d88414be47b8dff44fb1ea681
Author: Michael Paquier <michael@paquier.xyz>
Date: 2022-04-11T00:49:13Z
Releases: 15.0
doc: Clarify behavior of query planner locking with REINDEX

The documentation of REINDEX has never mentioned that the query planner
may take an ACCESS SHARE lock on the indexes depending on the query
used.  This adds also a note about prepared queries not impacted when
they do not use the index(es) rebuilt.

Author: Frédéric Yhuel
Reviewed-by: Guillaume Lelarge, Justin Pryzby
Discussion: https://postgr.es/m/65d08718-6f11-978a-4b5a-72b807d4c663@dalibo.com

Files

PathChange+/−
doc/src/sgml/ref/reindex.sgml modified +6 −1

Documentation touched

Discussion