Re: SuperUser check in pg_stat_statements - Mailing list pgsql-hackers

From Shulgin, Oleksandr
Subject Re: SuperUser check in pg_stat_statements
Date
Msg-id CACACo5TZYzzuiHQKa7jXAi1pgZLJuy6bdThChO3cMcp+QGWWCw@mail.gmail.com
Whole thread Raw
In response to SuperUser check in pg_stat_statements  (rajan <vgmonnet@gmail.com>)
List pgsql-hackers
On Mon, Oct 19, 2015 at 5:15 PM, rajan <vgmonnet@gmail.com> wrote:
Hello,

When monitoring using pg_stat_satements I see that postgres by default
conceals queries executed by other users from the user who is selecting the
pg_stat_statements view.

I have edited the pg_stat_statements.c by disabling the superuser check
function so that all queries will be visible to all users.
 
Well, you could see that's by design.  What problem are you trying to solve with that?
 
Can this be posted as a patch to postgresql?

This is not going to be accepted.

--
Alex

pgsql-hackers by date:

Previous
From: Masahiko Sawada
Date:
Subject: Re: Support for N synchronous standby servers - take 2
Next
From: Tom Lane
Date:
Subject: Re: pg_restore cancel TODO