Re: JDBC gripe list

Поиск
Список
Период
Сортировка
От Kris Jurka
Тема Re: JDBC gripe list
Дата
Msg-id alpine.BSO.2.00.1103311046270.25650@leary.csoft.net
обсуждение исходный текст
Ответ на Re: JDBC gripe list  ("Marc Mamin" <M.Mamin@intershop.de>)
Ответы Re: JDBC gripe list  (Achilleas Mantzios <achill@matrix.gatewaynet.com>)
Список pgsql-jdbc

On Thu, 31 Mar 2011, Marc Mamin wrote:

>
>>> Achilleas Mantzios, 31.03.2011 09:58:
>> You mean log_line_prefix parameter. Ok but a
>> log_line_prefix = '%d %a %u %p %c %m '
>> while it prints correctly %a (application) (as set by SET application_name),
>> it does not print correctly %u (user) (as set by SET ROLE).
>
> I would not say that %u return an incorrect user as the info stay
> relevant after changing the connection role, but an additional parameter
> to log the current role would be indeed interesting.
>

A patch was worked on for the server for 9.1 to implement this, but it
didn't make it in, perhaps for 9.2...

https://commitfest.postgresql.org/action/patch_view?id=524

Kris Jurka

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

Предыдущее
От: Quartz
Дата:
Сообщение: Re: JDBC gripe list (the autocommit subthread)
Следующее
От: Achilleas Mantzios
Дата:
Сообщение: Re: JDBC gripe list