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

Re: View running Processes ?

From: Arnaud Lesauvage <thewild(at)freesurf(dot)fr>
To: pgsql-novice(at)postgresql(dot)org
Subject: Re: View running Processes ?
Date: 2006-02-24 10:24:43
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-novice
A. Kretschmer a écrit :
> 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...


In response to

pgsql-novice by date

Next:From: A. KretschmerDate: 2006-02-24 10:37:11
Subject: Re: View running Processes ?
Previous:From: Luis SilvaDate: 2006-02-24 10:09:29
Subject: Re: check problem

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