Data audit trail techniques in postgresql

Поиск
Список
Период
Сортировка
От Nathaniel Smith
Тема Data audit trail techniques in postgresql
Дата
Msg-id 20090827122831.7a780cdb@gibson.summersault.com
обсуждение исходный текст
Ответы Re: [GENERAL] Data audit trail techniques in postgresql
Список pgsql-sql
Howdy,

(cross-posted to the pg.sql and pg.general lists)

I'm looking to set up an audit trail system--ie, logging every
INSERT/UPDATE/DELETE on a given table and tracking how the data
changes over time. I know I could do it by hand using triggers, but was
hoping to save a little time using something prepackaged.

I installed and tested the two-year untouched
http://pgfoundry.org/projects/audittrail2/ --the only auditing tool on
pgFoundry with a release--and found that, while it works well, it's
still marked as beta and has an obvious bug in it when used in 8.3.7.

What do others use to accomplish this? Do most pg users just write
triggers by hand? Or is there some nice auditing module that Google
just isn't revealing to me?

Thanks.

Nathaniel Smith
Web Application Developer
Summersault, LLC.
710 E. Main St., Suite 200
Richmond, IN 47374
www.summersault.com

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

Предыдущее
От: Rob Sargent
Дата:
Сообщение: Re: resolved: WITH RECURSIVE: ARRAY[id] All column datatypes must be hashable
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: [GENERAL] Data audit trail techniques in postgresql