Answers for "postgres cancel all queries"

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
1

postgresql transaction discard all

ROLLBACK;
Posted by: Guest on March-20-2021

Code answers related to "SQL"

Browse Popular Code Answers by Language