Re: Question about pg_stat_activity

From: Tony Caduto <tony(dot)caduto(at)amsoftwaredesign(dot)com>
To:
Cc: Pgsql-General General <pgsql-general(at)postgresql(dot)org>
Subject: Re: Question about pg_stat_activity
Date: 2005-01-13 06:44:05
Message-ID: 41E618B5.6060305@amsoftwaredesign.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi,
I have it working now, I must have missed the stats_command_string
setting in the conf file.

Thanks,

Tony

Michael Fuhr wrote:

>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?
>
>
>

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Frank Millman 2005-01-13 09:49:00 Optimistic concurrency control
Previous Message Michael Fuhr 2005-01-13 06:38:37 Re: Question about pg_stat_activity