From: Bruce Momjian <bruce@momjian.us>
To: sys-milan@statpro.com
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #9136: pg_is_xlog_replay_paused() should not need Superuser
Date: Wed, 16 Apr 2014 20:02:06 -0400
Message-ID: <20140417000206.GV7443@momjian.us> (raw)
In-Reply-To: <20140207101636.26701.59633@wrigleys.postgresql.org>
References: <20140207101636.26701.59633@wrigleys.postgresql.org>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
On Fri, Feb 7, 2014 at 10:16:36AM +0000, sys-milan@statpro.com wrote:
> The following bug has been logged on the website:
>
> Bug reference: 9136
> Logged by: Renato Ramonda
> Email address: sys-milan@statpro.com
> PostgreSQL version: 9.2.6
> Operating system: Ubuntu 12.04
> Description:
>
> The admin function pg_is_xlog_replay_paused() is read only and can be useful
> for monitoring, as such it should NOT require superuser privileges (as it
> does now).
>
> For reference, the read-only functions for monitoring the replication delay
> such as pg_current_xlog_location can be executed without superuser
> privileges (as remarked by the official documentation here
> http://www.postgresql.org/docs/9.1/static/functions-admin.html )
Is this correct? Do we have proper super-user restrictions on all the
right fields now?
--
Bruce Momjian <bruce@momjian.us> http://momjian.us
EnterpriseDB http://enterprisedb.com
+ Everyone has their own god. +
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: bruce@momjian.us, sys-milan@statpro.com
Subject: Re: BUG #9136: pg_is_xlog_replay_paused() should not need Superuser
In-Reply-To: <20140417000206.GV7443@momjian.us>
References: <20140207101636.26701.59633@wrigleys.postgresql.org> <20140417000206.GV7443@momjian.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox