| От | Joe Conway |
|---|---|
| Тема | Re: Audit trail |
| Дата | |
| Msg-id | 3E700BC5.7030500@joeconway.com обсуждение исходный текст |
| Ответ на | Re: Audit trail (James Gregory <james@anchor.net.au>) |
| Список | pgsql-general |
James Gregory wrote: > I considered that. Trouble is that I'd have to write this code in 5 or 6 > different languages, one of which is pl/pgsql. Likewise I'd need to test > all those different implementations (and it would be impractical to > retrofit this to the pl/pgsql stuff). > > So yeah, I really need the database to do it itself. > There is no "native" audit feature built in to Postgres, but it is easy enough to implement using audit tables and plpgsql function triggers on the application tables. See: http://www.us.postgresql.org/users-lounge/docs/7.3/postgres/triggers.html http://www.us.postgresql.org/users-lounge/docs/7.3/postgres/plpgsql-trigger.html Joe
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера