From: Alvaro Herrera <alvherre@2ndquadrant.com>
To: Pavel Luzanov <p.luzanov@postgrespro.ru>
Cc: pgsql-docs@lists.postgresql.org
Subject: Re: ATTACH/DETACH partitions and locking
Date: Wed, 20 May 2020 14:43:05 -0400
Message-ID: <20200520184305.GA20830@alvherre.pgsql> (raw)
In-Reply-To: <53fb248b-94c6-1822-c5d7-8563fc9a2710@postgrespro.ru>
On 2019-Jun-14, Pavel Luzanov wrote:
> Does it make sense to change this way?
> "Some operations require a stronger lock when using declarative partitioning
> than when using table inheritance. For example, removing a
> partition from a partitioned table requires taking an ACCESS EXCLUSIVE
> lock on the parent table, whereas a SHARE UPDATE EXCLUSIVE lock is enough in
> the case of regular inheritance."
It took long -- pushed now.
Thanks for reporting
--
Álvaro Herrera https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
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 using the --to and --cc options:
reply via email
To: pgsql-docs@postgresql.org
Cc: alvherre@2ndquadrant.com, p.luzanov@postgrespro.ru, pgsql-docs@lists.postgresql.org
Subject: Re: ATTACH/DETACH partitions and locking
In-Reply-To: <20200520184305.GA20830@alvherre.pgsql>
* 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