Re: More parallel pg_dump bogosities
Alvaro Herrera <alvherre@2ndquadrant.com>
From: Alvaro Herrera <alvherre@2ndquadrant.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Stephen Frost <sfrost@snowman.net>, pgsql-hackers@lists.postgresql.org
Date: 2018-08-28T19:30:31Z
Lists: pgsql-hackers
On 2018-Aug-28, Tom Lane wrote: > ... just when you thought it was safe to go back in the water ... > > Doesn't pg_backup_archiver.c's identify_locking_dependencies() need to > treat POLICY and ROW SECURITY items as requiring exclusive lock on > the referenced table? Those commands definitely acquire > AccessExclusiveLock in a quick test. > > I haven't looked hard, but I'm suspicious that other recently-added > dump object types may have been missed here too, I hadn't come across this locking dependency before, so it's pretty likely that partitioned index attachment has a problem here. > and even more suspicious that we'll forget this again in future. ... yeah, it seems easy to overlook the need to edit this. -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
Commits
-
Make pg_restore's identify_locking_dependencies() more bulletproof.
- e2841d399a89 10.6 landed
- e0a0cc28d082 12.0 landed
- aac21f11df0d 9.5.15 landed
- 97aa524f18c0 9.6.11 landed
- 49841edcc644 11.0 landed
-
Code review for pg_dump's handling of ALTER INDEX ATTACH PARTITION.
- 8cff4f5348d0 12.0 landed
- 18f6258e5ee8 11.0 landed
-
Fix missing dependency for pg_dump's ENABLE ROW LEVEL SECURITY items.
- cbdca00bef59 12.0 landed
- c5e235ff8ad0 11.0 landed
- 3998e55af050 9.5.15 landed
- 173df4cd36df 9.6.11 landed
- 0f3dd76f527d 10.6 landed