From: | Justin Pryzby <pryzby(at)telsasoft(dot)com> |
---|---|
To: | Michael Paquier <michael(at)paquier(dot)xyz> |
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-01 16:58:43 |
Message-ID: | 20191101165843.GK4999@telsasoft.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Fri, Nov 01, 2019 at 11:01:22PM +0900, Michael Paquier wrote:
> On Fri, Nov 01, 2019 at 08:59:48AM -0500, Justin Pryzby wrote:
> > I guess you mean because it's not a child until after the ALTER. Yes, that
> > makes sense.
>
> Yes, perhaps you have another idea than mine on how to shape this
> sentence?
I can't think of anything better.
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).
Justin
From | Date | Subject | |
---|---|---|---|
Next Message | Robert Haas | 2019-11-01 16:58:51 | Re: Allow superuser to grant passwordless connection rights on postgres_fdw |
Previous Message | Robert Haas | 2019-11-01 16:56:30 | Re: On disable_cost |