pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Paquier <michael@paquier.xyz>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: doc: Clarify behavior of query planner locking with REINDEX
Date: Mon, 11 Apr 2022 00:55:21 +0000
Message-ID: <E1ndiKu-001G99-QU@gemulon.postgresql.org> (raw)

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(-)



Message-ID: <E1ndiKu-001G99-QU@gemulon.postgresql.org>
Permalink:  ../E1ndiKu-001G99-QU@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1ndiKu-001G99-QU@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: michael@paquier.xyz
  Subject: Re: pgsql: doc: Clarify behavior of query planner locking with REINDEX
  In-Reply-To: <E1ndiKu-001G99-QU@gemulon.postgresql.org>
  References: <E1ndiKu-001G99-QU@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox