Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WaZmO-00034Q-8P for pgsql-bugs@arkaria.postgresql.org; Thu, 17 Apr 2014 00:02:12 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1WaZmN-0008QA-MV for pgsql-bugs@arkaria.postgresql.org; Thu, 17 Apr 2014 00:02:11 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WaZmM-0008PP-UX for pgsql-bugs@postgresql.org; Thu, 17 Apr 2014 00:02:10 +0000 Received: from momjian.us ([72.94.173.45]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WaZmK-0007Mu-2U for pgsql-bugs@postgresql.org; Thu, 17 Apr 2014 00:02:10 +0000 Received: from bruce by momjian.us with local (Exim 4.72) (envelope-from ) id 1WaZmI-0001Na-MI; Wed, 16 Apr 2014 20:02:06 -0400 Date: Wed, 16 Apr 2014 20:02:06 -0400 From: Bruce Momjian To: sys-milan@statpro.com Cc: pgsql-bugs@postgresql.org Subject: Re: BUG #9136: pg_is_xlog_replay_paused() should not need Superuser Message-ID: <20140417000206.GV7443@momjian.us> References: <20140207101636.26701.59633@wrigleys.postgresql.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20140207101636.26701.59633@wrigleys.postgresql.org> User-Agent: Mutt/1.5.20 (2009-06-14) X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org 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 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