Re: RFC: Timing Events

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: RFC: Timing Events
Дата
Msg-id 22596.1352244756@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: RFC: Timing Events  (Josh Berkus <josh@agliodbs.com>)
Ответы Re: RFC: Timing Events  (Josh Berkus <josh@agliodbs.com>)
Список pgsql-hackers
Josh Berkus <josh@agliodbs.com> writes:
>> You can reduce the logging volume on busy servers with
>> auto_explain.log_min_duration.  You can also activate it for a single
>> database user only by setting log_min_duration to -1 globally and
>> change the setting for one user with ALTER ROLE SET, right?

> Not according to the docs, you can't.

You're being obtuse, Josh.  These parameters can be set the same way any
other parameters can, including ALTER ROLE SET or ALTER DATABASE SET.
The "superuser only" restriction is that only a superuser can execute
the ALTER, not that the target role has to be superuser.
        regards, tom lane



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

Предыдущее
От: Josh Berkus
Дата:
Сообщение: Re: RFC: Timing Events
Следующее
От: Merlin Moncure
Дата:
Сообщение: WIP patch for hint bit i/o mitigation