- Notifications
You must be signed in to change notification settings - Fork4.9k
Commit1f8757a
committed
For REASSIGN OWNED for foreign user mappings
As reported in bug #13809 by Alexander Ashurkov, the code for REASSIGNOWNED hadn't gotten word about user mappings. Deal with them in thesame way default ACLs do, which is to ignore them altogether; they arehandled just fine by DROP OWNED. The other foreign object cases arealready handled correctly by both commands.Also add a REASSIGN OWNED statement to foreign_data test to exercise theforeign data objects. (The changes are just before the "cleanup" phase,so it shouldn't remove any existing live test.)Reported by Alexander Ashurkov, then independently by Jaime Casanova.1 parent423697e commit1f8757a
File tree
3 files changed
+18
-8
lines changed- src
- backend/catalog
- test/regress
- expected
- sql
3 files changed
+18
-8
lines changedLines changed: 5 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
43 | 43 |
| |
44 | 44 |
| |
45 | 45 |
| |
| 46 | + | |
46 | 47 |
| |
47 | 48 |
| |
48 | 49 |
| |
| |||
1374 | 1375 |
| |
1375 | 1376 |
| |
1376 | 1377 |
| |
| 1378 | + | |
| 1379 | + | |
| 1380 | + | |
| 1381 | + | |
1377 | 1382 |
| |
1378 | 1383 |
| |
1379 | 1384 |
| |
|
Lines changed: 8 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1199 | 1199 |
| |
1200 | 1200 |
| |
1201 | 1201 |
| |
| 1202 | + | |
| 1203 | + | |
| 1204 | + | |
| 1205 | + | |
| 1206 | + | |
| 1207 | + | |
| 1208 | + | |
| 1209 | + | |
1202 | 1210 |
| |
1203 | 1211 |
| |
1204 | 1212 |
| |
1205 | 1213 |
| |
1206 | 1214 |
| |
1207 | 1215 |
| |
1208 | 1216 |
| |
1209 |
| - | |
1210 |
| - | |
1211 |
| - | |
1212 |
| - | |
1213 |
| - | |
1214 | 1217 |
| |
1215 | 1218 |
| |
1216 |
| - | |
1217 | 1219 |
| |
1218 | 1220 |
| |
1219 | 1221 |
| |
|
Lines changed: 5 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
519 | 519 |
| |
520 | 520 |
| |
521 | 521 |
| |
| 522 | + | |
| 523 | + | |
| 524 | + | |
| 525 | + | |
| 526 | + | |
522 | 527 |
| |
523 | 528 |
| |
524 | 529 |
| |
525 |
| - | |
526 | 530 |
| |
527 |
| - | |
528 | 531 |
| |
529 | 532 |
| |
530 | 533 |
| |
|
0 commit comments
Comments
(0)