pgsql: doc: Clarify behavior of query planner locking with REINDEX

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: doc: Clarify behavior of query planner locking with REINDEX
Date: 2022-04-11 00:55:21
Message-ID: E1ndiKu-001G99-QU@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/8ac700acffc7b17d88414be47b8dff44fb1ea681

Modified Files
--------------
doc/src/sgml/ref/reindex.sgml | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Kyotaro Horiguchi 2022-04-11 04:29:55 Re: API stability
Previous Message Daniel Gustafsson 2022-04-10 19:57:31 pgsql: Doc: fix typos in documentation