ATTACH PARTITION locking documentation for DEFAULT partitions
Matthias van de Meent <boekewurm+postgres@gmail.com>
From: Matthias van de Meent <boekewurm+postgres@gmail.com>
To: PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Date: 2021-04-15T18:47:26Z
Lists: pgsql-hackers
Attachments
- v1-0001-ATTACH-PARTITION-locking-documentation-for-DEFAUL.patch (text/x-patch) patch v1-0001
Hi, I recently noticed that ATTACH PARTITION also recursively locks the default partition with ACCESS EXCLUSIVE mode when its constraints do not explicitly exclude the to-be-attached partition, which I couldn't find documented (has been there since PG10 I believe). PFA a patch that documents just that. With regards, Matthias van de Meent.
Commits
-
Doc: Clarify lock levels taken during ATTACH PARTITION
- 8709228775b5 15.0 landed
- 5a8a9be08307 14.0 landed
- aa1e9211ecf7 13.4 landed
- c590904d50cc 12.8 landed