Skip site navigation (1) Skip section navigation (2)

Kill a Long Running Query

From: Mageshwaran <j_mageshwaran(at)sifycorp(dot)com>
To: pgsql-general(at)postgresql(dot)org, pgsql-admin(at)postgresql(dot)org, Postgres <pgsql-hackers(at)postgresql(dot)org>
Subject: Kill a Long Running Query
Date: 2007-04-25 14:33:37
Message-ID: 462F66C1.4030303@sifycorp.com (view raw or flat)
Thread:
Lists: pgsql-adminpgsql-generalpgsql-hackers
Hi ,
Any body tell me how to kill a long running query in postgresql, is 
there any statement to kill a query, and also tell me how to log slow 
queries to a log file.

Regards
J Mageshwaran

********** DISCLAIMER **********
Information contained and transmitted by this E-MAIL is proprietary to 
Sify Limited and is intended for use only by the individual or entity to 
which it is addressed, and may contain information that is privileged, 
confidential or exempt from disclosure under applicable law. If this is a 
forwarded message, the content of this E-MAIL may not have been sent with 
the authority of the Company. If you are not the intended recipient, an 
agent of the intended recipient or a  person responsible for delivering the 
information to the named recipient,  you are notified that any use, 
distribution, transmission, printing, copying or dissemination of this 
information in any way or in any manner is strictly prohibited. If you have 
received this communication in error, please delete this mail & notify us 
immediately at admin(at)sifycorp(dot)com


Complete Coverage of the ICC World Cup '07! Log on to www.sify.com/khel for 
latest updates, expert columns, schedule, desktop scorecard, photo galleries 
and more!

Watch the hottest videos from Bollywood, Fashion, News and more only on 
www.sifymax.com

For the Expert view of the ICC World Cup log on to www.sify.com/khel. 
Read exclusive interviews with Sachin, Ganguly, Yuvraj, Sreesanth, Expert 
Columns by Gavaskar, Web chat with Dhoni and more! .

Responses

pgsql-hackers by date

Next:From: A. KretschmerDate: 2007-04-25 14:48:49
Subject: Re: Kill a Long Running Query
Previous:From: Heikki LinnakangasDate: 2007-04-25 14:24:53
Subject: Re: database size estimates

pgsql-admin by date

Next:From: Simon RiggsDate: 2007-04-25 14:44:23
Subject: Re:
Previous:From: Phillip SmithDate: 2007-04-25 07:46:17
Subject: Re: Help me to decrypt password

pgsql-general by date

Next:From: Richard HuxtonDate: 2007-04-25 14:35:01
Subject: Re: pg_connect sometimes works sometimes not
Previous:From: Tilmann SingerDate: 2007-04-25 14:22:24
Subject: Re: Audit-trail engine: getting the application's layer user_id

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group