- Notifications
You must be signed in to change notification settings - Fork28
Commita7b2fca
committed
Fix ordering of GRANT commands in pg_dumpall for tablespaces
This uses a method similar to68a7c24 and nowb8c6014 (applied fordatabase creation), which guarantees that GRANT commands using the WITHGRANT OPTION are dumped in a way so as cascading dependencies arerespected. Note that tablespaces do not have support for initialprivileges via pg_init_privs, so the same method needs to be appliedagain. It would be nice to merge all the logic generating ACL queriesin dumps under the same banner, but this requires extending the supportof pg_init_privs to objects that cannot use it yet, so this is left asfuture work.Discussion:https://postgr.es/m/20190522071555.GB1278@paquier.xyzAuthor: Michael PaquierReviewed-by: Nathan BossartBackpatch-through: 9.61 parent8357a41 commita7b2fca
1 file changed
+26
-7
lines changedLines changed: 26 additions & 7 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1134 | 1134 |
| |
1135 | 1135 |
| |
1136 | 1136 |
| |
| 1137 | + | |
| 1138 | + | |
| 1139 | + | |
| 1140 | + | |
| 1141 | + | |
1137 | 1142 |
| |
1138 |
| - | |
| 1143 | + | |
1139 | 1144 |
| |
1140 | 1145 |
| |
1141 | 1146 |
| |
1142 | 1147 |
| |
1143 | 1148 |
| |
1144 |
| - | |
1145 |
| - | |
1146 |
| - | |
1147 |
| - | |
1148 |
| - | |
1149 |
| - | |
| 1149 | + | |
| 1150 | + | |
| 1151 | + | |
| 1152 | + | |
| 1153 | + | |
| 1154 | + | |
| 1155 | + | |
| 1156 | + | |
| 1157 | + | |
| 1158 | + | |
| 1159 | + | |
| 1160 | + | |
| 1161 | + | |
| 1162 | + | |
| 1163 | + | |
| 1164 | + | |
| 1165 | + | |
| 1166 | + | |
| 1167 | + | |
| 1168 | + | |
1150 | 1169 |
| |
1151 | 1170 |
| |
1152 | 1171 |
| |
|
0 commit comments
Comments
(0)