Re: BUG #17126: Server crashes on dropping user while enumerating owned objects that are droppped concurrently

From: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
To: Alexander Lakhin <exclusion(at)gmail(dot)com>
Cc: pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: BUG #17126: Server crashes on dropping user while enumerating owned objects that are droppped concurrently
Date: 2021-11-05 15:35:04
Message-ID: 202111051535.qlwto6qoh647@alvherre.pgsql
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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)

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Peter Geoghegan 2021-11-05 21:25:12 Re: BUG #17257: (auto)vacuum hangs within lazy_scan_prune()
Previous Message Alvaro Herrera 2021-11-05 14:58:21 Re: BUG #17235: PQsendQuery (with two sql) after PQenterPipelineMode cause ERROR