Search
 
SCRIPT & CODE EXAMPLE
 

SQL

postgres kill running query

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

--Terminate immediately
SELECT pg_terminate_backend(pid);
Comment

PREVIOUS NEXT
Code Example
Sql :: show databases in sql server 
Sql :: create table in postgresql 
Sql :: find largest table in mysql database 
Sql :: how to check port number for postgresql 
Sql :: how to increase size of column in sql 
Sql :: postgres remove database 
Sql :: reset mysql root password mac 
Sql :: how to install postgresql on wsl 
Sql :: postgresql truncate cascade restart identity 
Sql :: get schema of table sql 
Sql :: RENAME table pl sql 
Sql :: mysql get last row 
Sql :: wordpress database query change url 
Sql :: how to open postgresql in mac 
Sql :: sqlite3 now 
Sql :: if date is today mysql 
Sql :: create schema sql server 
Sql :: oracle drop column 
Sql :: sql select table header 
Sql :: athena query timestamp greater than 
Sql :: install mysqldump ubuntu 
Sql :: show databases mysql docker 
Sql :: mysql remove ubuntu 
Sql :: mysql show column data types 
Sql :: how to check database size in mysql 
Sql :: hexadec to sql REDSHIFT 
Sql :: moodle query item quiz 
Sql :: bigquery get current date 
Sql :: oracle nls parameters 
Sql :: check mysql version phpmyadmin 
ADD CONTENT
Topic
Content
Source link
Name
1+6 =