Gaetano Mendola <mendola(at)bigfoot(dot)com> writes:
> P.A.M. van Dam wrote:
>> I'm looking for a command or method to find out what queries are
>> currently being serviced by the database.
> select * from pg_stat_activity;
... having first remembered to turn on stats_command_string; and
thou shalt also be superuser.
[ anybody else remember Monty Python's scriptures concerning the
Holy Hand Grenade? ]
regards, tom lane
In response to
pgsql-admin by date
|Next:||From: Tom Lane||Date: 2004-06-30 03:45:14|
|Subject: Re: grant execute on many functions |
|Previous:||From: Tom Lane||Date: 2004-06-30 02:41:47|
|Subject: Re: Stopping vacuum |