Re: Question about pg_stat_activity

Поиск
Список
Период
Сортировка
От Michael Fuhr
Тема Re: Question about pg_stat_activity
Дата
Msg-id 20050113063837.GA80515@winnie.fuhr.org
обсуждение исходный текст
Ответ на Question about pg_stat_activity  (Tony Caduto <tony.caduto@amsoftwaredesign.com>)
Ответы Re: Question about pg_stat_activity  (Tony Caduto <tony.caduto@amsoftwaredesign.com>)
Список pgsql-general
On Wed, Jan 12, 2005 at 11:57:18PM -0600, Tony Caduto wrote:

> When I run the following on my server:
> SELECT * FROM pg_stat_activity
>
> I get back <command string not enabled> for the field current_query.
>
> I have stats enabled in my config file, is there some other setting that
> I missed so I can see the current query?

Is stats_command_string set to true?  Did you restart the backend
after changing postgresql.conf?

--
Michael Fuhr
http://www.fuhr.org/~mfuhr/

В списке pgsql-general по дате отправления:

Предыдущее
От: Michael Fuhr
Дата:
Сообщение: Re: vacuum vs open transactions
Следующее
От: Tony Caduto
Дата:
Сообщение: Re: Question about pg_stat_activity