Re: update ALTER TABLE with ATTACH PARTITION lock mode (docs)
Michael Paquier <michael@paquier.xyz>
From: Michael Paquier <michael@paquier.xyz>
To: Justin Pryzby <pryzby@telsasoft.com>
Cc: Alvaro Herrera <alvherre@2ndquadrant.com>, Robert Haas <robertmhaas@gmail.com>, pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2019-10-31T09:07:34Z
Lists: pgsql-hackers
On Mon, Oct 28, 2019 at 10:56:33PM -0500, Justin Pryzby wrote: > I suppose it should something other than partition(ed), since partitions can be > partitioned, too... > > 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 child table and the > <literal>DEFAULT</literal> partition (if any). In this context, "on the child table" sounds a bit confusing? Would it make more sense to say the "on the table to be attached" instead? -- Michael
Commits
-
Doc: Clarify locks taken when using ALTER TABLE ATTACH PARTITION
- 4d04031dd279 12.1 landed
- 2a4d96ebbd65 13.0 landed
-
Doc: Improve description around ALTER TABLE ATTACH PARTITION
- f5efc931c2e8 10.11 landed
- 8f8ff09d49af 11.6 landed
- a7207a24d40e 12.1 landed
- ea881338014f 13.0 landed