pgsql: Integrate superuser check into has_rolreplication()

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема pgsql: Integrate superuser check into has_rolreplication()
Дата
Msg-id E1pcpIE-003peV-DQ@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Integrate superuser check into has_rolreplication()

This makes it consistent with similar functions like
has_createrole_privilege() and allows removing some explicit superuser
checks.

Author: Nathan Bossart <nathandbossart@gmail.com>
Discussion: https://www.postgresql.org/message-id/20230310000313.GA3992372%40nathanxps13

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/442f8700656bb5ce525d352241a17bbab14193c7

Modified Files
--------------
src/backend/replication/slot.c    | 2 +-
src/backend/utils/init/miscinit.c | 4 ++++
src/backend/utils/init/postinit.c | 2 +-
3 files changed, 6 insertions(+), 2 deletions(-)


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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: pgsql: pkg-config Requires.private entries should be comma-separated
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Use "data directory" not "current directory" in error messages.