Re: Help with tracking!

Поиск
Список
Период
Сортировка
От Shoaib Mir
Тема Re: Help with tracking!
Дата
Msg-id p2tbf54be871005031723w3021b271h75342afe659f27ad@mail.gmail.com
обсуждение исходный текст
Ответ на Help with tracking!  (Đỗ Ngọc Trí Cường<seminoob@gmail.com>)
Список pgsql-general
2010/4/19 Đỗ Ngọc Trí Cường <seminoob@gmail.com>
Dear all,

I've a problem but I search all the help file and can't find the solution.

I want to track all action of a specify role on all or one schema in database.

Can you help me?

Thanks a lot and Best Regard,


Setup your log_line_prefix and log_statement setting properly in postgresql.conf so that you get the user info and other appropriate details. After that you can tail the DB server log file and grep for that specific user to get what sort of SQL is been executed.

--
Shoaib Mir
http://shoaibmir.wordpress.com/

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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: GeSHi module for Postgresql?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: pg9 beta1, make check fails