SyntaxFix
Write A Post
Hire A Developer
Questions
With all infos about the running process:
SELECT *, pg_terminate_backend(pid) FROM pg_stat_activity WHERE pid <> pg_backend_pid() AND datname = 'my_database_name';