forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitc966988
committed
Invalidate acl.c caches when pg_authid changes.
This makes existing sessions reflect "ALTER ROLE ... [NO]INHERIT" asquickly as they have been reflecting "GRANT role_name". Back-patch to9.5 (all supported versions).Reviewed by Nathan Bossart.Discussion:https://postgr.es/m/20201221095028.GB3777719@rfd.leadboat.com1 parentf853ffa commitc966988
File tree
3 files changed
+19
-3
lines changed- src
- backend/utils/adt
- test/regress
- expected
- sql
3 files changed
+19
-3
lines changedLines changed: 6 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
51 | 51 |
| |
52 | 52 |
| |
53 | 53 |
| |
54 |
| - | |
55 | 54 |
| |
56 | 55 |
| |
57 | 56 |
| |
| |||
4690 | 4689 |
| |
4691 | 4690 |
| |
4692 | 4691 |
| |
4693 |
| - | |
4694 |
| - | |
| 4692 | + | |
| 4693 | + | |
| 4694 | + | |
4695 | 4695 |
| |
4696 | 4696 |
| |
4697 | 4697 |
| |
4698 | 4698 |
| |
| 4699 | + | |
| 4700 | + | |
| 4701 | + | |
4699 | 4702 |
| |
4700 | 4703 |
| |
4701 | 4704 |
| |
|
Lines changed: 7 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
346 | 346 |
| |
347 | 347 |
| |
348 | 348 |
| |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
349 | 356 |
| |
350 | 357 |
| |
351 | 358 |
| |
|
Lines changed: 6 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
216 | 216 |
| |
217 | 217 |
| |
218 | 218 |
| |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
219 | 225 |
| |
220 | 226 |
| |
221 | 227 |
| |
|
0 commit comments
Comments
(0)