Re: BUG #17126: Server crashes on dropping user while enumerating owned objects that are droppped concurrently - Mailing list pgsql-bugs

From Alvaro Herrera
Subject Re: BUG #17126: Server crashes on dropping user while enumerating owned objects that are droppped concurrently
Date
Msg-id 202111051535.qlwto6qoh647@alvherre.pgsql
Whole thread Raw
In response to Re: BUG #17126: Server crashes on dropping user while enumerating owned objects that are droppped concurrently  (Alexander Lakhin <exclusion@gmail.com>)
List pgsql-bugs
On 2021-Sep-02, Alexander Lakhin wrote:

> I've found another one in dependency.c:
> 
>         else if (behavior == DROP_RESTRICT)
>         {
>             char       *otherDesc = getObjectDescription(&extra->dependee,
>                                                          false);
> ...
>             pfree(otherDesc);
> I couldn't trigger a failure at this place yet, but maybe it's worth to
> fix here too.

Thank you, I patched this one as well.  Fix is now pushed to all branches.

-- 
Álvaro Herrera         PostgreSQL Developer  —  https://www.EnterpriseDB.com/
"Cada quien es cada cual y baja las escaleras como quiere" (JMSerrat)



pgsql-bugs by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: BUG #17235: PQsendQuery (with two sql) after PQenterPipelineMode cause ERROR
Next
From: Peter Geoghegan
Date:
Subject: Re: BUG #17257: (auto)vacuum hangs within lazy_scan_prune()