Re: transactional shared variable in postgresql

Поиск
Список
Период
Сортировка
От Rajesh Kumar Mallah
Тема Re: transactional shared variable in postgresql
Дата
Msg-id a97c77030611180701w3befaeb5udefe2c63bb93e27d@mail.gmail.com
обсуждение исходный текст
Ответ на Re: transactional shared variable in postgresql  (imad <immaad@gmail.com>)
Список pgsql-sql
hi,

We do not want to modify our apps for doing auditing.
we are considering table level auditing
auditrail http://gborg.postgresql.org/project/audittrail/projdisplay.php
seems to be doing a good job. i just need to access the "username"
that starts the transaction in webapp from the trigger in audittrail.

basically we want to log selected tables of database without
modifying our web application code.

is it possible to get transaction id (XID) for current transaction ?
should it be used ? sorry for ignorance but i read some discouraging
remarks regarding using it in apps as it is an internal stuff.



regds
mallah.


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

Предыдущее
От: imad
Дата:
Сообщение: Re: transactional shared variable in postgresql
Следующее
От: "Rajesh Kumar Mallah"
Дата:
Сообщение: Re: Random()