Skip site navigation (1) Skip section navigation (2)

Re: pg_stat_replication security

From: Josh Berkus <josh(at)agliodbs(dot)com>
To: Magnus Hagander <magnus(at)hagander(dot)net>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: pg_stat_replication security
Date: 2011-01-16 20:51:56
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers
> I suggest pg_stat_replication do just like pg_stat_activity, which is
> return NULL in most fields if the user isn't
> (superuser||same_user_as_that_session).

What session would that be, exactly?

I suggest instead either "superuser" or "replication" permissions.

                                  -- Josh Berkus
                                     PostgreSQL Experts Inc.

In response to


pgsql-hackers by date

Next:From: Dimitri FontaineDate: 2011-01-16 20:53:47
Subject: Re: walreceiver fallback_application_name
Previous:From: Josh BerkusDate: 2011-01-16 20:50:08
Subject: Re: We need to log aborted autovacuums

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group