forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit11523e8
committed
Support new default roles with adminpack
This provides a newer version of adminpack which works with the newlyadded default roles to support GRANT'ing to non-superusers access toread and write files, along with related functions (unlinking files,getting file length, renaming/removing files, scanning the log filedirectory) which are supported through adminpack.Note that new versions of the functions are required because anenvironment might have an updated version of the library but still havethe old adminpack 1.0 catalog definitions (where EXECUTE is GRANT'd toPUBLIC for the functions).This patch also removes the long-deprecated alternative names forfunctions that adminpack used to include and which are now included inthe backend, in adminpack v1.1. Applications using the deprecated namesshould be updated to use the backend functions instead. Existinginstallations which continue to use adminpack v1.0 should continue tofunction until/unless adminpack is upgraded.Reviewed-By: Michael PaquierDiscussion:https://postgr.es/m/20171231191939.GR2416%40tamriel.snowman.net1 parent0fdc849 commit11523e8
File tree
10 files changed
+388
-88
lines changed- contrib/adminpack
- expected
- sql
- doc/src/sgml
- src
- backend/utils/adt
- include/catalog
10 files changed
+388
-88
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
5 | 5 |
| |
6 | 6 |
| |
7 | 7 |
| |
8 |
| - | |
| 8 | + | |
9 | 9 |
| |
10 | 10 |
| |
11 | 11 |
| |
|
Lines changed: 51 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + |
0 commit comments
Comments
(0)