mirror of
https://github.com/neondatabase/neon.git
synced 2026-08-18 12:08:19 +00:00
7c7180a79d
ALTER SUBSCRIPTION requires AccessExclusive lock which conflicts with iteration over pg_subscription when multiple databases are present and operations are applied concurrently. Fix by explicitly locking pg_subscription in the beginning of the transaction in each database. ## Problem https://github.com/neondatabase/cloud/issues/24292