diff options
author | Michael Paquier <michael@paquier.xyz> | 2018-10-09 22:29:09 +0900 |
---|---|---|
committer | Michael Paquier <michael@paquier.xyz> | 2018-10-09 22:29:09 +0900 |
commit | c48101620151f78ee184e5f81766cbac347d9a11 (patch) | |
tree | 86396a88627f0de5bcd0052dcde7dea3af5e748d /src/backend/commands/variable.c | |
parent | bfa6c5a0c974b14601b689efa4e52f6a372aee0c (diff) | |
download | postgresql-c48101620151f78ee184e5f81766cbac347d9a11.tar.gz postgresql-c48101620151f78ee184e5f81766cbac347d9a11.zip |
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
Diffstat (limited to 'src/backend/commands/variable.c')
0 files changed, 0 insertions, 0 deletions