On Thu, Dec 3, 2026 at 2:39 AM Kirill Reshke <[email protected]> wrote:
>
> Hi!
> After the CLT feature committed [0] server nowl can deadlock if the
> subscription has a conflict-log table and DROP SUBSCRIPTION races with
> ALTER SUBSCRIPTION OWNER TO.
>

Thanks for the report. I was able to reproduce the issue with concurrent
ALTER OWNER and DROP commands. Instead of the expected "tuple concurrently
deleted" error, the DROP fails with a deadlock:

ERROR:  deadlock detected
DETAIL:  Process 41745 waits for AccessExclusiveLock on relation 16386 of
database 5; blocked by process 43197.
Process 43197 waits for ShareLock on transaction 678; blocked by process
41745.
HINT:  See server log for query details.

We will look into it.

--
Thanks,
Nisha

Reply via email to