diff --git a/docs/postgresql/Разное.md b/docs/postgresql/Разное.md index ad0f24e..9800307 100644 --- a/docs/postgresql/Разное.md +++ b/docs/postgresql/Разное.md @@ -99,7 +99,7 @@ FROM pg_stat_activity WHERE pid <> pg_backend_pid( ) AND datname = ''; ``` ```sql --- убить процесс по pid +-- убить подключение по pid SELECT pg_terminate_backend(pid) FROM pg_stat_activity WHERE pid = ;