Re: Auditing and Postgres 7.3

Поиск
Список
Период
Сортировка
От Matthew T. O'Connor
Тема Re: Auditing and Postgres 7.3
Дата
Msg-id 200201231544.g0NFicS04407@neuromancer.ctlno.com
обсуждение исходный текст
Ответ на Auditing and Postgres 7.3  (Gavin Sherry <swm@linuxworld.com.au>)
Список pgsql-hackers
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

> I've been thinking implementing auditing for Postgres 7.3 and wanted to
> see if anyone had any thoughts about it.
< snip >
> So what would an audit trail consist of?
>
> timestamp
> query type
> query
> query result (successful|unsuccessful)
> audit object oid

We have implemented an audit trail at the application level several times for 
several different projects.  While what you have described in this thread is 
more aimed at debugging, what we have used it for is to see who changed what 
value to what when.  We can show the complete history of all the values for 
parts of our schema, and who changed them when.  Very useful for a number of 
situation.  This I would be a nice feature to have the database manage.  
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8Tty+8BXvT14W9HARAoFVAJ9fMHF9q0QhcRQSdmmGbTZX3P1vyACgkquy
WU0WElwZoF6LOP9yNgIvf1c=
=RazC
-----END PGP SIGNATURE-----


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Ned Wolpert
Дата:
Сообщение: Re: Auditing and Postgres 7.3
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Add OR REPLACE clauses to non-FUNCTION object creation in PostgreSQL 7.3