| From: | Andrew Dunstan <andrew(at)dunslane(dot)net> |
|---|---|
| To: | Michael Paquier <michael(at)paquier(dot)xyz>, Ayush Tiwari <ayushtiwari(dot)slg01(at)gmail(dot)com> |
| Cc: | PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org> |
| Subject: | Re: Concurrent DROP TABLESPACE can miss a shared dependency |
| Date: | 2026-09-09 11:39:53 |
| Message-ID: | aa862a24-001c-4b37-8f65-a9261ed034b9@dunslane.net |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
On 2026-09-08 Tu 7:25 PM, Michael Paquier wrote:
> On Tue, Sep 08, 2026 at 07:28:51PM +0530, Ayush Tiwari wrote:
>> On Mon, 7 Sept 2026 at 23:28, Andrew Dunstan <andrew(at)dunslane(dot)net> wrote:
>>> I think this should be applied as a single squashed commit,
>>> (soon so I can rely on it for the fixes I mentioned).
> Yeah, a backpatch seems adapted. That's a nasty problem. It's
> unlikely going to be hit in practice, but we can say that for a bunch
> of stuff that gets backpatched.
>
>>> I think it should be backpatched - all live branches have the same problem.
>> Agreed that this should be backpatched to all live branches.
> Andrew, are you planning to work on it? I did not spend cycles
> looking at the details and the command patterns involved, on the
> premise that you would handle that. Saying that, the premise of the
> patch feels sound with a few more additional shared locks to prevent
> the concurrent manipulations.
>
Thanks for looking.
Yes, planning to work on it today.
cheers
andrew
--
Andrew Dunstan
EDB: https://www.enterprisedb.com
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Álvaro Herrera | 2026-09-09 11:48:26 | Re: REPACK (CONCURRENTLY) decoding worker is canceled by lock_timeout |
| Previous Message | Fujii Masao | 2026-09-09 11:19:15 | Re: CLUSTER progress: wrong index_rebuild_count for tables with TOAST |