How to terminate a query - Mailing list pgsql-general

From A B
Subject How to terminate a query
Date
Msg-id t2xdbbf25901004201342i456463rc5c3864610ab48ee@mail.gmail.com
Whole thread Raw
Responses Re: How to terminate a query  (Scott Marlowe <scott.marlowe@gmail.com>)
List pgsql-general
Hi there!

select * from pg_stat_activity;
shows me a
  select my_function(....)
query that has been running for too long.
How do I kill it?

kill -9 of the procpid seems  to kill the entire server process. So
I'm not really comfortable with that.
The query was started by a webscript that was closed a long time ago.

So how do you stop them? (This is on a Linux box)

pgsql-general by date:

Previous
From: Harald Fuchs
Date:
Subject: Re: Ltree - how to sort nodes on parent node
Next
From: "Kevin Grittner"
Date:
Subject: Re: [ADMIN] Can the log_statement parameter be set at the user level?