Re: BUG #18559: Crash after detaching a partition concurrently from another session - Mailing list pgsql-bugs

From Alvaro Herrera from 2ndQuadrant
Subject Re: BUG #18559: Crash after detaching a partition concurrently from another session
Date
Msg-id 202408121824.gwvkmkugf6x7@alvherre.pgsql
Whole thread Raw
In response to Re: BUG #18559: Crash after detaching a partition concurrently from another session  (Junwang Zhao <zhjwpku@gmail.com>)
Responses Re: BUG #18559: Crash after detaching a partition concurrently from another session
List pgsql-bugs
On 2024-Aug-10, Junwang Zhao wrote:

> > IIUC, a simple fix would be to retry if an entry is not found. Attached a patch.
> 
> I can reproduce the issue, and the patch LGTM.

Interesting issue, thanks for reporting and putting together a
reproducer.  I have added some comments to the proposed patch, so here's
a v2 for it.  I'm going to write a commit message for it and push to all
branches since 14.

-- 
Álvaro Herrera        Breisgau, Deutschland  —  https://www.EnterpriseDB.com/
"La experiencia nos dice que el hombre peló millones de veces las patatas,
pero era forzoso admitir la posibilidad de que en un caso entre millones,
las patatas pelarían al hombre" (Ijon Tichy)

Attachment

pgsql-bugs by date:

Previous
From: PG Bug reporting form
Date:
Subject: BUG #18580: The pg_similarity appears to be wrong
Next
From: Cameron Vogt
Date:
Subject: TLS session tickets disabled?