Re: DROP OWNED CASCADE vs Temp tables - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: DROP OWNED CASCADE vs Temp tables
Date
Msg-id 20200205211302.GA32650@alvherre.pgsql
Whole thread Raw
In response to Re: DROP OWNED CASCADE vs Temp tables  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Responses Re: DROP OWNED CASCADE vs Temp tables  (ahsan hadi <ahsan.hadi@gmail.com>)
List pgsql-hackers
On 2020-Jan-23, Alvaro Herrera wrote:

> This is not a 100% solution: there's the cases when the user is removed
> from an ACL and from a policy, and those deletions are done directly
> instead of accumulating to the end for a mass deletion.
> 
> I had to export AcquireDeletionLock (previously a static in
> dependency.c).  I wonder if I should export ReleaseDeletionLock too, for
> symmetry.

FWIW I'm going to withhold this bugfix until after the next set of
minors are out.  I'd rather not find out later that I have no way to fix
9.4 if I break it, for a bug that has existed forever ...

-- 
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



pgsql-hackers by date:

Previous
From: Mahendra Singh Thalor
Date:
Subject: Re: [HACKERS] Moving relation extension locks out of heavyweight lock manager
Next
From: Alvaro Herrera
Date:
Subject: Re: Do not check unlogged indexes on standby