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

From Tom Lane
Subject Re: RFC: Timing Events
Date
Msg-id 24346.1352148294@sss.pgh.pa.us
Whole thread Raw
In response to Re: RFC: Timing Events  (Josh Berkus <josh@agliodbs.com>)
Responses Re: RFC: Timing Events
List pgsql-hackers
Josh Berkus <josh@agliodbs.com> writes:
>> Do we have something to add to auto_explain?

> Well, to be frank, I've never found auto-explain to be useful because of
> its restriction to superuser sessions.  It's an interesting
> proof-of-concept, but completely useless at any production site.

Huh?  The typical use-case is to enable it for all sessions by
including it in shared_preload_libraries.  That doesn't require any
particular session to be superuser.  (If you're superuser you can then
turn it *off* in your session, should you wish.)
        regards, tom lane



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Doc patch, distinguish sections with an empty row in error code table
Next
From: Bruce Momjian
Date:
Subject: Re: Pg_upgrade speed for many tables