Re: pgaudit - an auditing extension for PostgreSQL - Mailing list pgsql-hackers

From Simon Riggs
Subject Re: pgaudit - an auditing extension for PostgreSQL
Date
Msg-id CA+U5nMLbyTbGk_y02+_w8bryCH5dobe-VaMte=XdFj+RSiJ+4w@mail.gmail.com
Whole thread Raw
In response to Re: pgaudit - an auditing extension for PostgreSQL  (Jaime Casanova <jaime@2ndquadrant.com>)
Responses Re: pgaudit - an auditing extension for PostgreSQL  (Abhijit Menon-Sen <ams@2ndQuadrant.com>)
List pgsql-hackers
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



pgsql-hackers by date:

Previous
From: Merlin Moncure
Date:
Subject: Re: BUG #12330: ACID is broken for unique constraints
Next
From: Noah Misch
Date:
Subject: Re: CATUPDATE confusion?