| From: | Peter Eisentraut <peter(at)eisentraut(dot)org> |
|---|---|
| To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
| Subject: | pgsql: Integrate superuser check into has_rolreplication() |
| Date: | 2023-03-16 15:13:26 |
| Message-ID: | E1pcpIE-003peV-DQ@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | 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(at)gmail(dot)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(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2023-03-16 16:04:29 | pgsql: Use "data directory" not "current directory" in error messages. |
| Previous Message | Peter Eisentraut | 2023-03-16 07:04:42 | pgsql: pkg-config Requires.private entries should be comma-separated |