Re: Postgres Logs question

Поиск
Список
Период
Сортировка
От Chris Travers
Тема Re: Postgres Logs question
Дата
Msg-id CAKt_Zfv=YOnN8fvX2snXsxrdp41Ura7pa0fZAuZTb0K1EB5i=Q@mail.gmail.com
обсуждение исходный текст
Ответ на Postgres Logs question  (akp geek <akpgeek@gmail.com>)
Ответы Re: Postgres Logs question
Список pgsql-general
On Tue, Dec 20, 2011 at 11:53 AM, akp geek <akpgeek@gmail.com> wrote:
> Hi All -
>
>                Is there way that we write the logs specific to only one user
> in postgres? What I want to do is, Write the log files that are coming from
> one user  or block the log entry for a pariticular user. Can you please
> help? We have postgres 9.0.4

I don't know about redirecting based on a specific user.  You can.
however, set which statements to log per user (alter user akp set
log_statements='all')

Not sure if that helps.  Also if youlog to a syslog facility, it might
be possible to get some additional capabilities that way.

 Chris Travers

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

Предыдущее
От: "David Johnston"
Дата:
Сообщение: Re: General coding question
Следующее
От: Josh Kupershmidt
Дата:
Сообщение: Re: Escaping input from COPY