Re: update ALTER TABLE with ATTACH PARTITION lock mode (docs)

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: Justin Pryzby <pryzby(at)telsasoft(dot)com>
Cc: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>, Robert Haas <robertmhaas(at)gmail(dot)com>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: update ALTER TABLE with ATTACH PARTITION lock mode (docs)
Date: 2019-11-02 08:19:11
Message-ID: 20191102081911.GE23841@paquier.xyz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Fri, Nov 01, 2019 at 11:58:43AM -0500, Justin Pryzby wrote:
> Attaching a partition acquires a <literal>SHARE UPDATE EXCLUSIVE</literal> lock
> on the parent table, in addition to <literal>ACCESS EXCLUSIVE</literal> locks
> on the table to be attached and the <literal>DEFAULT</literal> partition (if
> any).

Sounds fine. So gathering everything I get the attached. Any
thoughts from others?
--
Michael

Attachment Content-Type Size
partition-docs-v3.patch text/x-diff 4.2 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Julien Rouhaud 2019-11-02 08:56:09 Re: [Proposal] Global temporary tables
Previous Message Peter Eisentraut 2019-11-02 07:46:12 Re: Remove configure --disable-float4-byval and --disable-float8-byval