document lock obtained for FKs during detach - Mailing list pgsql-hackers

From Alvaro Herrera
Subject document lock obtained for FKs during detach
Date
Msg-id 20210325180244.GA12738@alvherre.pgsql
Whole thread Raw
List pgsql-hackers
I failed to document the lock acquired on tables that reference the
partitioned table that we're detaching a partition from.  This patch
(proposed for backpatch to 12, where that feature was added) fixes that
problem.

Noticed the omission a week ago while working out some details of
concurrent detach.

-- 
Álvaro Herrera                            39°49'30"S 73°17'W
"It takes less than 2 seconds to get to 78% complete; that's a good sign.
A few seconds later it's at 90%, but it seems to have stuck there.  Did
somebody make percentages logarithmic while I wasn't looking?"
                http://smylers.hates-software.com/2005/09/08/1995c749.html

Attachment

pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: shared memory stats: high level design decisions: consistency, dropping
Next
From: Tom Lane
Date:
Subject: Re: making update/delete of inheritance trees scale better