logging table changes

Поиск
Список
Период
Сортировка
От Matthias Leopold
Тема logging table changes
Дата
Msg-id 4C88AE8B.6060102@aic.at
обсуждение исходный текст
Ответы Re: logging table changes  (Mladen Gogala <mgogala@vmsinfo.com>)
Список 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 по дате отправления:

Предыдущее
От: Josh Kupershmidt
Дата:
Сообщение: Re: Postgresql security checks
Следующее
От: "Rob Richardson"
Дата:
Сообщение: Query help, please