| От | Matthias Leopold |
|---|---|
| Тема | logging table changes |
| Дата | |
| Msg-id | 4C88AE8B.6060102@aic.at обсуждение исходный текст |
| Ответы |
Re: logging table changes
|
| Список | pgsql-novice |
hi, how can i "easily" log changes to individual fields in a table without naming these fields explicitly? i looked at the auditing example in http://www.postgresql.org/docs/8.3/static/plpgsql-trigger.html, which looks promising, but i can't think of a way to "easily" query the table when i want to know when a certain field changed. i was thinking of adding a field in the audit table which contains the names of all the fields which changed, but i don't know who to "easily" get these names. for some reason i think that there might already exist well known solutions for my problem so i dare to ask here. thx for advice matthias
В списке pgsql-novice по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера