mirror of
https://github.com/cozystack/cozystack.git
synced 2026-11-04 11:07:03 +09:00
Replace separate pg_terminate_backend + DROP DATABASE calls with a single DROP DATABASE ... WITH (FORCE) statement. This eliminates the race window where new sessions could reconnect between termination and drop. Available since PostgreSQL 13. Assisted-By: Claude AI Signed-off-by: Kirill Ilin <stitch14@yandex.ru>