forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit97d625d
committed
*) inet_(client|server)_(addr|port)() and necessary documentation for
the four functions.> Also, please justify the temp-related changes. I was not aware that we> had any breakage there.patch-tmp-schema.txt contains the following bits:*) Changes pg_namespace_aclmask() so that the superuser is always ableto create objects in the temp namespace.*) Changes pg_namespace_aclmask() so that if this is a temp namespace,objects are only allowed to be created in the temp namespace if theuser has TEMP privs on the database. This encompasses all objectcreation, not just TEMP tables.*) InitTempTableNamespace() checks to see if the current user, not thesession user, has access to create a temp namespace.The first two changes are necessary to support the third change. Nowit's possible to revoke all temp table privs from non-super users andlimiting all creation of temp tables/schemas via a function that'sexecuted with elevated privs (security definer). Before this change,it was not possible to have a setuid function to create a temptable/schema if the session user had no TEMP privs.patch-area-path.txt contains:*) Can now determine the area of a closed path.patch-dfmgr.txt contains:*) Small tweak to add the library path that's being expanded.I was using $lib/foo.so and couldn't easily figure out what the errormessage, "invalid macro name in dynamic library path" meant withoutlooking through the source code. With the path in there, at least Iknow where to start looking in my config file.Sean Chittenden1 parent51227f8 commit97d625d
File tree
14 files changed
+234
-33
lines changed- doc/src/sgml
- src
- backend
- catalog
- libpq
- postmaster
- utils
- adt
- fmgr
- include
- catalog
- utils
- interfaces/libpq
14 files changed
+234
-33
lines changedLines changed: 36 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 |
| - | |
| 2 | + | |
3 | 3 |
| |
4 | 4 |
| |
5 | 5 |
| |
| |||
6592 | 6592 |
| |
6593 | 6593 |
| |
6594 | 6594 |
| |
| 6595 | + | |
| 6596 | + | |
| 6597 | + | |
| 6598 | + | |
| 6599 | + | |
| 6600 | + | |
| 6601 | + | |
| 6602 | + | |
| 6603 | + | |
| 6604 | + | |
| 6605 | + | |
| 6606 | + | |
| 6607 | + | |
| 6608 | + | |
| 6609 | + | |
| 6610 | + | |
| 6611 | + | |
| 6612 | + | |
| 6613 | + | |
| 6614 | + | |
| 6615 | + | |
| 6616 | + | |
| 6617 | + | |
| 6618 | + | |
6595 | 6619 |
| |
6596 | 6620 |
| |
6597 | 6621 |
| |
| |||
6647 | 6671 |
| |
6648 | 6672 |
| |
6649 | 6673 |
| |
| 6674 | + | |
| 6675 | + | |
| 6676 | + | |
| 6677 | + | |
| 6678 | + | |
| 6679 | + | |
| 6680 | + | |
| 6681 | + | |
| 6682 | + | |
| 6683 | + | |
| 6684 | + | |
6650 | 6685 |
| |
6651 | 6686 |
| |
6652 | 6687 |
| |
|
Lines changed: 18 additions & 8 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
8 | 8 |
| |
9 | 9 |
| |
10 | 10 |
| |
11 |
| - | |
| 11 | + | |
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
| |||
1342 | 1342 |
| |
1343 | 1343 |
| |
1344 | 1344 |
| |
1345 |
| - | |
1346 |
| - | |
1347 |
| - | |
1348 |
| - | |
1349 |
| - | |
1350 |
| - | |
1351 |
| - | |
1352 | 1345 |
| |
1353 | 1346 |
| |
1354 | 1347 |
| |
1355 | 1348 |
| |
| 1349 | + | |
| 1350 | + | |
| 1351 | + | |
| 1352 | + | |
| 1353 | + | |
| 1354 | + | |
| 1355 | + | |
| 1356 | + | |
| 1357 | + | |
| 1358 | + | |
| 1359 | + | |
| 1360 | + | |
| 1361 | + | |
| 1362 | + | |
| 1363 | + | |
| 1364 | + | |
| 1365 | + | |
1356 | 1366 |
| |
1357 | 1367 |
| |
1358 | 1368 |
| |
|
Lines changed: 5 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
13 | 13 |
| |
14 | 14 |
| |
15 | 15 |
| |
16 |
| - | |
| 16 | + | |
17 | 17 |
| |
18 | 18 |
| |
19 | 19 |
| |
| |||
1640 | 1640 |
| |
1641 | 1641 |
| |
1642 | 1642 |
| |
1643 |
| - | |
1644 |
| - | |
1645 |
| - | |
| 1643 | + | |
| 1644 | + | |
| 1645 | + | |
1646 | 1646 |
| |
1647 |
| - | |
| 1647 | + | |
1648 | 1648 |
| |
1649 | 1649 |
| |
1650 | 1650 |
| |
|
Lines changed: 9 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
10 | 10 |
| |
11 | 11 |
| |
12 | 12 |
| |
13 |
| - | |
| 13 | + | |
14 | 14 |
| |
15 | 15 |
| |
16 | 16 |
| |
| |||
1345 | 1345 |
| |
1346 | 1346 |
| |
1347 | 1347 |
| |
1348 |
| - | |
| 1348 | + | |
| 1349 | + | |
| 1350 | + | |
1349 | 1351 |
| |
| 1352 | + | |
1350 | 1353 |
| |
1351 | 1354 |
| |
1352 | 1355 |
| |
| |||
1357 | 1360 |
| |
1358 | 1361 |
| |
1359 | 1362 |
| |
1360 |
| - | |
| 1363 | + | |
| 1364 | + | |
| 1365 | + | |
1361 | 1366 |
| |
| 1367 | + | |
1362 | 1368 |
| |
1363 | 1369 |
| |
1364 | 1370 |
| |
|
Lines changed: 3 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
8 | 8 |
| |
9 | 9 |
| |
10 | 10 |
| |
11 |
| - | |
| 11 | + | |
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
| |||
73 | 73 |
| |
74 | 74 |
| |
75 | 75 |
| |
76 |
| - | |
| 76 | + | |
77 | 77 |
| |
78 | 78 |
| |
79 | 79 |
| |
80 |
| - | |
| 80 | + | |
81 | 81 |
| |
82 | 82 |
| |
83 | 83 |
| |
|
Lines changed: 3 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
30 | 30 |
| |
31 | 31 |
| |
32 | 32 |
| |
33 |
| - | |
| 33 | + | |
34 | 34 |
| |
35 | 35 |
| |
36 | 36 |
| |
| |||
251 | 251 |
| |
252 | 252 |
| |
253 | 253 |
| |
254 |
| - | |
| 254 | + | |
| 255 | + | |
255 | 256 |
| |
256 | 257 |
| |
257 | 258 |
| |
|
Lines changed: 6 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
37 | 37 |
| |
38 | 38 |
| |
39 | 39 |
| |
40 |
| - | |
| 40 | + | |
41 | 41 |
| |
42 | 42 |
| |
43 | 43 |
| |
| |||
2469 | 2469 |
| |
2470 | 2470 |
| |
2471 | 2471 |
| |
2472 |
| - | |
| 2472 | + | |
2473 | 2473 |
| |
2474 | 2474 |
| |
2475 | 2475 |
| |
| 2476 | + | |
| 2477 | + | |
| 2478 | + | |
| 2479 | + | |
2476 | 2480 |
| |
2477 | 2481 |
| |
2478 | 2482 |
| |
|
Lines changed: 22 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
8 | 8 |
| |
9 | 9 |
| |
10 | 10 |
| |
11 |
| - | |
| 11 | + | |
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
| |||
1312 | 1312 |
| |
1313 | 1313 |
| |
1314 | 1314 |
| |
| 1315 | + | |
| 1316 | + | |
| 1317 | + | |
| 1318 | + | |
| 1319 | + | |
| 1320 | + | |
| 1321 | + | |
| 1322 | + | |
| 1323 | + | |
| 1324 | + | |
| 1325 | + | |
| 1326 | + | |
| 1327 | + | |
| 1328 | + | |
| 1329 | + | |
| 1330 | + | |
| 1331 | + | |
| 1332 | + | |
| 1333 | + | |
| 1334 | + | |
| 1335 | + | |
1315 | 1336 |
| |
1316 | 1337 |
| |
1317 | 1338 |
| |
|
Lines changed: 108 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 | 2 |
| |
3 | 3 |
| |
4 |
| - | |
| 4 | + | |
5 | 5 |
| |
6 | 6 |
| |
7 | 7 |
| |
| |||
14 | 14 |
| |
15 | 15 |
| |
16 | 16 |
| |
| 17 | + | |
| 18 | + | |
17 | 19 |
| |
| 20 | + | |
18 | 21 |
| |
19 | 22 |
| |
20 | 23 |
| |
| |||
130 | 133 |
| |
131 | 134 |
| |
132 | 135 |
| |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
133 | 240 |
| |
134 | 241 |
| |
135 | 242 |
| |
|
0 commit comments
Comments
(0)