Commit 5981ec9c authored by Administrator's avatar Administrator

[SQL] usefull function.

parent 16ca9b03
SELECT pg_terminate_backend(pg_stat_activity.pid)
FROM pg_stat_activity
WHERE pg_stat_activity.datname = 'TARGET_DB' AND pid <> pg_backend_pid();
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment