Integrate superuser check into has_rolreplication()
Peter Eisentraut <peter@eisentraut.org>
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
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/replication/slot.c | modified | +1 −1 |
| src/backend/utils/init/miscinit.c | modified | +4 −0 |
| src/backend/utils/init/postinit.c | modified | +1 −1 |
Discussion
- almost-super-user problems that we haven't fixed yet 66 messages · 2023-01-16 → 2023-03-17