Re: Function Logging

Поиск
Список
Период
Сортировка
От Andrew Bartley
Тема Re: Function Logging
Дата
Msg-id 16d934440908171542u32e0b58ap6833350921964743@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Function Logging  (Alvaro Herrera <alvherre@commandprompt.com>)
Ответы Re: Function Logging
Список pgsql-general
Thanks Alvaro,

I still need to be able to log statements from within functions...  Can you help with that?

2009/8/18 Alvaro Herrera <alvherre@commandprompt.com>
Andrew Bartley escribió:

> PS on this note, how do we log PIDS?  This is another "need to have" for our
> production systems.  We log user activity and trace DB activity through the
> PIDS.

See log_line_prefix.  You can use something like '%p ' (note the space
at the end), or stuff like the session identifier as described in the
docs.

--
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

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

Предыдущее
От: NTPT
Дата:
Сообщение: Re: Rapid Seek Devices (feature request)
Следующее
От: Greg Stark
Дата:
Сообщение: Re: Rapid Seek Devices (feature request)