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 lock obtained during partition detach
Date: Thu, 25 Mar 2021 19:31:12 +0000
Message-ID: <E1lPVhI-0001Ch-70@gemulon.postgresql.org> (raw)

Document lock obtained during partition detach

On partition detach, we acquire a SHARE lock on all tables that
reference the partitioned table that we're detaching a partition from,
but failed to document this fact.  My oversight in commit f56f8f8da6af.
Repair.  Backpatch to 12.

Author: Álvaro Herrera <alvherre@alvh.no-ip.org>
Discussion: https://postgr.es/m/20210325180244.GA12738@alvherre.pgsql

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/650d623530c884c087c565f1d3b8cd76f8fe2b95

Modified Files
--------------
doc/src/sgml/ref/alter_table.sgml | 2 ++
1 file changed, 2 insertions(+)



view thread (3+ messages)  latest in thread

Message-ID: <E1lPVhI-0001Ch-70@gemulon.postgresql.org>
Permalink:  ../E1lPVhI-0001Ch-70@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1lPVhI-0001Ch-70@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 lock obtained during partition detach
  In-Reply-To: <E1lPVhI-0001Ch-70@gemulon.postgresql.org>
  References: <E1lPVhI-0001Ch-70@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