- Notifications
You must be signed in to change notification settings - Fork5
Commitbfed4ab
committed
Disallow SET SESSION AUTHORIZATION pg_*
As part of reserving the pg_* namespace for default roles and in linewith SET ROLE and other previous efforts, disallow settings the roleto a default/reserved role using SET SESSION AUTHORIZATION.These checks and restrictions on what is allowed regarding default /reserved roles are under debate, but it seems prudent to ensure thatthe existing checks at least cover the intended cases while thedebate rages on. On me to clean it up if the consensus decision isto remove these checks.1 parentbe65edd commitbfed4ab
1 file changed
+4
-0
lines changedLines changed: 4 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
794 | 794 |
| |
795 | 795 |
| |
796 | 796 |
| |
| 797 | + | |
| 798 | + | |
| 799 | + | |
| 800 | + | |
797 | 801 |
| |
798 | 802 |
| |
799 | 803 |
| |
|
0 commit comments
Comments
(0)