forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit442f870
committed
Integrate superuser check into has_rolreplication()
This makes it consistent with similar functions likehas_createrole_privilege() and allows removing some explicit superuserchecks.Author: Nathan Bossart <nathandbossart@gmail.com>Discussion:https://www.postgresql.org/message-id/20230310000313.GA3992372%40nathanxps131 parent3b7cd8c commit442f870
3 files changed
+6
-2
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1140 | 1140 |
| |
1141 | 1141 |
| |
1142 | 1142 |
| |
1143 |
| - | |
| 1143 | + | |
1144 | 1144 |
| |
1145 | 1145 |
| |
1146 | 1146 |
| |
|
Lines changed: 4 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
709 | 709 |
| |
710 | 710 |
| |
711 | 711 |
| |
| 712 | + | |
| 713 | + | |
| 714 | + | |
| 715 | + | |
712 | 716 |
| |
713 | 717 |
| |
714 | 718 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
962 | 962 |
| |
963 | 963 |
| |
964 | 964 |
| |
965 |
| - | |
| 965 | + | |
966 | 966 |
| |
967 | 967 |
| |
968 | 968 |
| |
|
0 commit comments
Comments
(0)