pgsql: Allow pg_monitor to execute pg_current_logfile().

Поиск
Список
Период
Сортировка
От Nathan Bossart
Тема pgsql: Allow pg_monitor to execute pg_current_logfile().
Дата
Msg-id E1raJNc-006EAc-1d@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/8d8afd48d3f298bc4d8ab2b115cc39550132bde7

Modified Files
--------------
doc/src/sgml/func.sgml                       |  5 +++++
src/backend/catalog/system_functions.sql     |  4 ++++
src/include/catalog/catversion.h             |  2 +-
src/test/regress/expected/misc_functions.out | 20 ++++++++++++++++++++
src/test/regress/sql/misc_functions.sql      | 11 +++++++++++
5 files changed, 41 insertions(+), 1 deletion(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Fix multiranges to behave more like dependent types.
Следующее
От: Nathan Bossart
Дата:
Сообщение: pgsql: Check that MyProcPid == getpid() in backend signal handlers.