pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@alvh.no-ip.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Document concurrent indexes waiting on each other
Date: Mon, 30 Nov 2020 21:26:16 +0000
Message-ID: <E1kjqga-0005FK-LP@gemulon.postgresql.org> (raw)

Document concurrent indexes waiting on each other

Because regular CREATE INDEX commands are independent, and there's no
logical data dependency, it's not immediately obvious that transactions
held by concurrent index builds on one table will block the second phase
of concurrent index creation on an unrelated table, so document this
caveat.

Backpatch this all the way back.  In branch master, mention that only
some indexes are involved.

Author: James Coleman <jtc331@gmail.com>
Reviewed-by: David Johnston <david.g.johnston@gmail.com>
Discussion: https://postgr.es/m/CAAaqYe994=PUrn8CJZ4UEo_S-FfRr_3ogERyhtdgHAb2WG_Ufg@mail.gmail.com

Branch
------
REL_10_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/d3bd36a63d6995da2a25719372baca0275c86374

Modified Files
--------------
doc/src/sgml/ref/create_index.sgml | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)



view thread (7+ messages)  latest in thread

Message-ID: <E1kjqga-0005FK-LP@gemulon.postgresql.org>
Permalink:  ../E1kjqga-0005FK-LP@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1kjqga-0005FK-LP@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: alvherre@alvh.no-ip.org
  Subject: Re: pgsql: Document concurrent indexes waiting on each other
  In-Reply-To: <E1kjqga-0005FK-LP@gemulon.postgresql.org>
  References: <E1kjqga-0005FK-LP@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