forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitd412f79
committed
Make opr_sanity test complain about built-in functions marked prosecdef.
Currently, there are no built-in functions that are SECURITY DEFINER.But we just found an instance where one was mistakenly marked that way,so it seems prudent to add a test about it. If we ever grow somefunctions that are intentionally SECURITY DEFINER, we can alter theexpected output of this test, or adjust the query to filter out functionsfor which it's okay.Per suggestion from Robert Haas.Discussion:https://postgr.es/m/CA+TgmoYXg7McY33+jbWmG=rS-HNUur0S6W8Q8kVNFf7epFimVA@mail.gmail.com1 parent15c9156 commitd412f79
2 files changed
+17
-0
lines changedLines changed: 10 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
96 | 96 |
| |
97 | 97 |
| |
98 | 98 |
| |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
99 | 109 |
| |
100 | 110 |
| |
101 | 111 |
| |
|
Lines changed: 7 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
95 | 95 |
| |
96 | 96 |
| |
97 | 97 |
| |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
98 | 105 |
| |
99 | 106 |
| |
100 | 107 |
| |
|
0 commit comments
Comments
(0)