On 25 December 2014 at 17:09, Jaime Casanova <jaime@2ndquadrant.com> wrote:
> On Thu, Dec 25, 2014 at 5:42 AM, Abhijit Menon-Sen <ams@2ndquadrant.com> wrote:
>>
>> To summarise for people who haven't followed the thread in detail, the
>> idea is that you would do:
>>
>> grant select on foo to audit;
>>
>> ...and the server would audit-log any "select ... from foo ..." queries (by
>> any user).
>
> what if i want to audit different things for different users?
That is supported - you can provide a list of roles to be audit roles.
-- Simon Riggs http://www.2ndQuadrant.com/PostgreSQL Development, 24x7 Support, Training & Services