Re: see a current query - Mailing list pgsql-sql

From Rod Taylor
Subject Re: see a current query
Date
Msg-id 1066826186.3004.10.camel@jester
Whole thread Raw
In response to see a current query  (sad <sad@bankir.ru>)
Responses Query planner: current_* vs. explicit date
List pgsql-sql
On Wed, 2003-10-22 at 05:26, sad wrote:
> Hello
>
> i'am logged in as superuser (pgsql)
> trying to
> SELECT * FROM pg_stat_activity;
> and seeing NULLs instead of current_query column&

You need to change the stats settings in postgresql.conf.  By default
the current query is not enabled as it does cause a performance loss.

pgsql-sql by date:

Previous
From: Theodore Petrosky
Date:
Subject: Re: Timestamp
Next
From: Chris Gamache
Date:
Subject: Query planner: current_* vs. explicit date