Re: Help with tracking! - Mailing list pgsql-general

From Scott Marlowe
Subject Re: Help with tracking!
Date
Msg-id j2udcc563d11004200503z75d163f9xf20152dfaffafef3@mail.gmail.com
Whole thread Raw
In response to Re: Help with tracking!  (Craig Ringer <craig@postnewspapers.com.au>)
Responses Re: Help with tracking!  (Devrim GÜNDÜZ <devrim@gunduz.org>)
List pgsql-general
2010/4/18 Craig Ringer <craig@postnewspapers.com.au>:
> Đỗ Ngọc Trí Cường wrote:
>> Dear all,
>>
>> I've a problem but I search all the help file and can't find the solution.
>>
>> I want to track all action of a specify role on all or one schema in
>> database.
>>
>> Can you help me?
>
> You can use statement-level logging, though there are no facilities in
> statement-level logging to restrict what is logged to only one role's
> activity.

Wouldn't this work:

alter user smarlowe set log_statement = 'all';

pgsql-general by date:

Previous
From: Peter Geoghegan
Date:
Subject: Re: Culturally aware initcap
Next
From: Devrim GÜNDÜZ
Date:
Subject: Re: Help with tracking!