From: Andrew Dunstan <andrew@dunslane.net>
To: Mageshwaran <j_mageshwaran@sifycorp.com>
Cc: pgsql-general@postgresql.org, pgsql-admin@postgresql.org, Postgres <pgsql-hackers@postgresql.org>
Subject: Re: [HACKERS] Kill a Long Running Query
Date: Wed, 25 Apr 2007 10:56:51 -0400
Message-ID: <462F6C33.3070705@dunslane.net> (raw)
In-Reply-To: <462F66C1.4030303@sifycorp.com>
References: <462F66C1.4030303@sifycorp.com>
Mageshwaran wrote:
> 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.
>
First. please do not cross-post like this. Pick the correct list and use it.
Second, this query definitely does not belong on the -hackers list.
Third, please find a way of posting to lists that does not include a
huge disclaimer and advertisements. If that is added by your company's
mail server, you should look at using some other method of posting such
as gmail.
Fourth, please read our excellent documentation. It contains the answers
to your questions, I believe.
cheers
andrew
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: andrew@dunslane.net, j_mageshwaran@sifycorp.com, pgsql-hackers@postgresql.org
Subject: Re: [HACKERS] Kill a Long Running Query
In-Reply-To: <462F6C33.3070705@dunslane.net>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox