pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Cédric BUSCHINI <cbuschini@carax.com>
To: Brad Nicholson <bnichols@ca.afilias.info>
To: pgsql-admin@postgresql.org
Subject: Re: pg_stat_activity
Date: Thu, 02 Feb 2006 17:27:34 +0100
Message-ID: <43E232F6.7080105@carax.com> (raw)
In-Reply-To: <43E22CD7.4040909@ca.afilias.info>
References: <43E22BB6.4030701@carax.com>
	<43E22CD7.4040909@ca.afilias.info>

Brad Nicholson a écrit :

> Cédric BUSCHINI wrote:
>
>> Hello,
>>
>> question in 2 times :
>>
>> 1 - "select * from pg_stat_activity ;" gives me serverals lines but 
>> all lines have <command string not enable> in current_query
>> I have set "stats_command_string" to true...
>>
> Have you restarted the postmaster since making the change?  This 
> setting requires restart (reload will not work)
>
>> 2 - I wanna to log  users activity : connections, disconnection, 
>> queries, ... I assume there is a good way to do that .....
>>
> It's all in the logging section of the postgresql.conf file, clearly 
> labeled.  Most can be changed with a reload
>
> http://www.postgresql.org/docs/8.1/interactive/runtime-config-logging.html 
>
>
>
My fault ....

I have not restarted it ... done and works !!
Sorry ...

Thanks for the link





view thread (23+ messages)  latest in thread

Message-ID: <43E232F6.7080105@carax.com>
Permalink:  ../43E232F6.7080105@carax.com/
Also on:    postgresql.org/message-id/43E232F6.7080105@carax.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: cbuschini@carax.com, bnichols@ca.afilias.info
  Subject: Re: pg_stat_activity
  In-Reply-To: <43E232F6.7080105@carax.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox