Re: RFC: Timing Events - Mailing list pgsql-hackers

From Tom Lane
Subject Re: RFC: Timing Events
Date
Msg-id 22596.1352244756@sss.pgh.pa.us
Whole thread Raw
In response to Re: RFC: Timing Events  (Josh Berkus <josh@agliodbs.com>)
Responses Re: RFC: Timing Events  (Josh Berkus <josh@agliodbs.com>)
List 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 by date:

Previous
From: Josh Berkus
Date:
Subject: Re: RFC: Timing Events
Next
From: Merlin Moncure
Date:
Subject: WIP patch for hint bit i/o mitigation