SuperUser check in pg_stat_statements

From: rajan <vgmonnet(at)gmail(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: SuperUser check in pg_stat_statements
Date: 2015-10-19 15:15:55
Message-ID: 1445267755995-5870589.post@n5.nabble.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Masahiko Sawada 2015-10-19 15:17:53 Re: Support for N synchronous standby servers - take 2
Previous Message Bruce Momjian 2015-10-19 15:13:28 Re: pg_restore cancel TODO