Allow pg_monitor to execute pg_current_logfile().

Nathan Bossart <nathan@postgresql.org>

Commit: 8d8afd48d3f298bc4d8ab2b115cc39550132bde7
Author: Nathan Bossart <nathan@postgresql.org>
Date: 2024-02-14T17:48:29Z
Releases: 17.0
Allow pg_monitor to execute pg_current_logfile().

We allow roles with privileges of pg_monitor to execute functions
like pg_ls_logdir(), so it seems natural that such roles would also
be able to execute this function.

Bumps catversion.

Co-authored-by: Pavlo Golub
Reviewed-by: Daniel Gustafsson
Discussion: https://postgr.es/m/CAK7ymcLmEYWyQkiCZ64WC-HCzXAB0omM%3DYpj9B3rXe8vUAFMqw%40mail.gmail.com

Files

Documentation touched

Discussion