Re: Adding ddl audit trigger - Mailing list pgsql-general

From Guillaume Lelarge
Subject Re: Adding ddl audit trigger
Date
Msg-id 4D40A314.2070502@lelarge.info
Whole thread Raw
In response to Re: Adding ddl audit trigger  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Adding ddl audit trigger  (Lawrence Cohan <LCohan@web.com>)
List pgsql-general
Le 26/01/2011 23:13, Tom Lane a écrit :
> Guillaume Lelarge <guillaume@lelarge.info> writes:
>> Le 26/01/2011 22:29, Lawrence Cohan a écrit :
>>> All I need is to at least be able and save a userid(current_user), timestamp, action, and the name of the object
andthis could be done easily by adding triggers to these pg catalogs. 
>
>> Nope, sorry. You can't add triggers on system catalogs.
>
> This has been discussed, and I think it's on the TODO list.  It's not
> "easily done".
>

Yes, AFAIR, it was discussed during pgcon dev meeting last year. Jan
Wieck was interested to work on this (I suppose to help Slony work
better with DDL). Still hope to see some progress on this :)


--
Guillaume
 http://www.postgresql.fr
 http://dalibo.com

pgsql-general by date:

Previous
From: Dan Birken
Date:
Subject: Re: Understanding PG9.0 streaming replication feature
Next
From: Bruce Momjian
Date:
Subject: Re: Understanding PG9.0 streaming replication feature