Re: ATTACH/DETACH PARTITION CONCURRENTLY
Michael Paquier <michael@paquier.xyz>
From: Michael Paquier <michael@paquier.xyz>
To: Alvaro Herrera <alvherre@2ndquadrant.com>
Cc: Robert Haas <robertmhaas@gmail.com>, Sergei Kornilov <sk@zsrv.org>, Amit Langote <langote_amit_f8@lab.ntt.co.jp>, David Rowley <david.rowley@2ndquadrant.com>, Andres Freund <andres@anarazel.de>, PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>, Simon Riggs <simon@2ndquadrant.com>
Date: 2018-12-17T23:44:02Z
Lists: pgsql-hackers
On Mon, Dec 17, 2018 at 06:52:51PM -0300, Alvaro Herrera wrote: > On 2018-Dec-17, Robert Haas wrote: > This patch missing the CF deadline would not be a happy way for me to > begin the new year. > > I'm not sure what's the best way to move forward with this patch, but I > encourage you to post whatever version you have before the deadline, > even if you're not fully happy with it (and, heck, even if it doesn't > compile and/or is full of FIXME or TODO comments). Agreed. This patch has value, and somebody else could always take it from the point where you were. -- Michael
Commits
-
Allow ATTACH PARTITION with only ShareUpdateExclusiveLock.
- 898e5e3290a7 12.0 landed
-
Change lock acquisition order in expand_inherited_rtentry.
- f4b6341d5fcb 12.0 landed
-
Move code for managing PartitionDescs into a new file, partdesc.c
- 1bb5e7821810 12.0 landed
-
Remove more redundant relation locking during executor startup.
- f2343653f5b2 12.0 cited
-
Add assertions that we hold some relevant lock during relation open.
- b04aeb0a053e 12.0 cited
-
Try to acquire relation locks in RangeVarGetRelid.
- 4240e429d0c2 9.2.0 cited