зеркало из
https://github.com/iharh/notes.git
synced 2025-10-29 12:46:06 +02:00
18 строки
378 B
Plaintext
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
|