SuperUser check in pg_stat_statements - Mailing list pgsql-hackers

From rajan
Subject SuperUser check in pg_stat_statements
Date
Msg-id 1445267755995-5870589.post@n5.nabble.com
Whole thread Raw
Responses Re: SuperUser check in pg_stat_statements  ("Shulgin, Oleksandr" <oleksandr.shulgin@zalando.de>)
Re: SuperUser check in pg_stat_statements  (Stephen Frost <sfrost@snowman.net>)
List pgsql-hackers
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.

Can this be posted as a patch to postgresql?



--
View this message in context: http://postgresql.nabble.com/SuperUser-check-in-pg-stat-statements-tp5870589.html
Sent from the PostgreSQL - hackers mailing list archive at Nabble.com.



pgsql-hackers by date:

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