From: Gaetano Mendola <mendola@bigfoot.com>
To: David Ecker <david@familie-ecker.net>
Subject: Re: Killing Long running query or user session
Date: Tue, 10 Aug 2004 13:03:28 +0200
Message-ID: <4118AB80.5030209@bigfoot.com> (raw)
In-Reply-To: <065ed569632b300f0b33223972ec4e12@unlimited.ultrafeed.com>
References: <065ed569632b300f0b33223972ec4e12@unlimited.ultrafeed.com>
David Ecker wrote:
> How can I kill/stop a long running query or a complete user session using an
> superuser account?
>
> Thx
> David Ecker
At my knowledge you have to kill SIGTERM the backedn that is managing the
connection. Do as super user "select * from pg_stat_activity", look at
the procpid that have to be killed and kill it.
Regards
Gaetano Mendola
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: mendola@bigfoot.com, david@familie-ecker.net
Subject: Re: Killing Long running query or user session
In-Reply-To: <4118AB80.5030209@bigfoot.com>
References: <065ed569632b300f0b33223972ec4e12@unlimited.ultrafeed.com> <4118AB80.5030209@bigfoot.com>
* 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