Answers for "kill postgres process"

SQL
3

postgres kill running query

--Stop the query normally
SELECT pg_cancel_backend(pid);

--Terminate immediately
SELECT pg_terminate_backend(pid);
Posted by: Guest on April-09-2020
0

postgres auto listening when kill pid

brew services stop postgres
Posted by: Guest on October-26-2020

Code answers related to "SQL"

Browse Popular Code Answers by Language