Ihar Hancharenka a9b6cb220a m
2025-01-11 08:34:22 +03:00

18 строки
378 B
Plaintext

https://www.postgresql.org/docs/current/explicit-locking.html
https://postgrespro.ru/docs/postgresql/current/explicit-locking
https://pglocks.org/?pgcommand=VACUUM
samples
select ... for update;
select ..., pg_blocking_pids(pid), ...
from pg_stat_activity
where
backend_type = 'client backend';
pg_locks
transactionid, granted
pg_terminate_backend(pid)
function