Re: audit table containing Select statements submitted

Поиск
Список
Период
Сортировка
От Josh Berkus
Тема Re: audit table containing Select statements submitted
Дата
Msg-id 200605160950.16850.josh@agliodbs.com
обсуждение исходный текст
Ответ на Re: audit table containing Select statements submitted  (Douglas McNaught <doug@mcnaught.org>)
Ответы Re: audit table containing Select statements submitted
Список pgsql-hackers
Doug,

> But what if the user calls the access function, sees the data, then
> issues a ROLLBACK?  The audit record would be rolled back as well (as
> Tom pointed out earlier).
>
> You could use dblink to log to  a separate audit database, I suppose.

Or just write to some other non-transational resource, like a text file.  That 
would require the use of an external "untrusted" PL, though (like PL/PerlU, 
PL/sh or PL/PythonU)

-- 
Josh Berkus
Aglio Database Solutions
San Francisco


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: [PATCHES] .pgpass file and unix domain sockets
Следующее
От: "Jim C. Nasby"
Дата:
Сообщение: Re: Compression and on-disk sorting