Re: View running Processes ? - Mailing list pgsql-novice

From Arnaud Lesauvage
Subject Re: View running Processes ?
Date
Msg-id 43FEDEEB.8090402@freesurf.fr
Whole thread Raw
In response to Re: View running Processes ?  ("A. Kretschmer" <andreas.kretschmer@schollglas.com>)
List pgsql-novice
A. Kretschmer a écrit :
> http://www.postgresql.org/docs/8.1/interactive/functions-admin.html
> pg_cancel_backend(pid int)

Oh yes ! So if I understand correctly, I get the pid of the query
with "select * from pg_stat_activity;", then I just kill the query
with "select pg_cancel_backend(<pid>);" ?
Very nice !

PS : Sorry for asking this kind of questions when the answers are
in the doc, but I find it quite difficult to find informations in
the only doc. Maybe it is because I am used to access and mysql,
and the terminology used in postgres is quite different...


Regard
--
Arnaud


pgsql-novice by date:

Previous
From: "Luis Silva"
Date:
Subject: Re: check problem
Next
From: "A. Kretschmer"
Date:
Subject: Re: View running Processes ?