From: Michael Paquier <michael@paquier.xyz>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Add pg_ls_archive_statusdir function
Date: Tue, 09 Oct 2018 13:38:25 +0000
Message-ID: <E1g9sDR-0006ul-9O@gemulon.postgresql.org> (raw)
Add pg_ls_archive_statusdir function
This function lists the contents of the WAL archive status directory,
and is intended to be used by monitoring tools. Unlike pg_ls_dir(),
access to it can be granted to non-superusers so that those monitoring
tools can observe the principle of least privilege. Access is also
given by default to members of pg_monitor.
Author: Christoph Moench-Tegeder
Reviewed-by: Aya Iwata
Discussion: https://postgr.es/m/20180930205920.GA64534@elch.exwg.net
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/c48101620151f78ee184e5f81766cbac347d9a11
Modified Files
--------------
doc/src/sgml/func.sgml | 24 ++++++++++++++++++++++++
src/backend/catalog/system_views.sql | 2 ++
src/backend/utils/adt/genfile.c | 9 +++++++++
src/include/catalog/catversion.h | 2 +-
src/include/catalog/pg_proc.dat | 5 +++++
5 files changed, 41 insertions(+), 1 deletion(-)
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-committers@postgresql.org
Cc: michael@paquier.xyz
Subject: Re: pgsql: Add pg_ls_archive_statusdir function
In-Reply-To: <E1g9sDR-0006ul-9O@gemulon.postgresql.org>
References: <E1g9sDR-0006ul-9O@gemulon.postgresql.org>
* 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