Re: ALTER ROLE foo SET log_connections = true;

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: ALTER ROLE foo SET log_connections = true;
Дата
Msg-id 6788.1331903976@sss.pgh.pa.us
обсуждение исходный текст
Ответ на ALTER ROLE foo SET log_connections = true;  ("Marc Mamin" <M.Mamin@intershop.de>)
Список pgsql-admin
"Marc Mamin" <M.Mamin@intershop.de> writes:
> if I try to SET log_connections = true
> (as super user,  for another role)
>  I get the error: parameter "log_connections" cannot be set after
> connection start.

Yeah ...

> I find it a bit surprising as this wouldn't  affect the current session.

Nor would it affect any other session, so the error is to let you know
you're doing something useless/ineffective.

            regards, tom lane

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

Предыдущее
От: Raghavendra
Дата:
Сообщение: Re: ALTER ROLE foo SET log_connections = true;
Следующее
От: masterchief
Дата:
Сообщение: Warnings in Standby Logs