Re: BUG #17126: Server crashes on dropping user while enumerating owned objects that are droppped concurrently
Alvaro Herrera <alvherre@alvh.no-ip.org>
From: Alvaro Herrera <alvherre@alvh.no-ip.org>
To: Alexander Lakhin <exclusion@gmail.com>
Cc: pgsql-bugs@lists.postgresql.org
Date: 2021-11-05T15:35:04Z
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)
Commits
-
Avoid crash in rare case of concurrent DROP
- e0eaeafd6646 9.6.24 landed
- d74b54b3ddf7 15.0 landed
- 02e20bb2dcaa 14.1 landed
- bf5cdcfd5e44 13.5 landed
- 92224e470c83 11.14 landed
- 58b600f64bfb 10.19 landed
- 3eff168a29ca 12.9 landed