pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@alvh.no-ip.org>
To: Alexander Lakhin <exclusion@gmail.com>
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #17126: Server crashes on dropping user while enumerating owned objects that are droppped concurrently
Date: Fri, 5 Nov 2021 12:35:04 -0300
Message-ID: <202111051535.qlwto6qoh647@alvherre.pgsql> (raw)
In-Reply-To: <07fc0336-1b28-8269-d7cc-c34d50c650ce@gmail.com>

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)





view thread (4+ messages)

Message-ID: <202111051535.qlwto6qoh647@alvherre.pgsql>
Permalink:  ../202111051535.qlwto6qoh647@alvherre.pgsql/
Also on:    postgresql.org/message-id/202111051535.qlwto6qoh647@alvherre.pgsql

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-bugs@postgresql.org
  Cc: alvherre@alvh.no-ip.org, exclusion@gmail.com, pgsql-bugs@lists.postgresql.org
  Subject: Re: BUG #17126: Server crashes on dropping user while enumerating owned objects that are droppped concurrently
  In-Reply-To: <202111051535.qlwto6qoh647@alvherre.pgsql>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox