forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit29dd6d8
committed
Prevent non-superusers from reading pg_backend_memory_contexts, by default.
pg_backend_memory_contexts view contains some internal information ofmemory contexts. Since exposing them to any users by default may causesecurity issue, this commit allows only superusers to read this view,by default, like we do for pg_shmem_allocations view.Bump catalog version.Author: Atsushi TorikoshiReviewed-by: Michael Paquier, Fujii MasaoDiscussion:https://postgr.es/m/1414992.1597849297@sss.pgh.pa.us1 parentc34605d commit29dd6d8
File tree
3 files changed
+8
-1
lines changed- doc/src/sgml
- src
- backend/catalog
- include/catalog
3 files changed
+8
-1
lines changedLines changed: 4 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
9697 | 9697 |
| |
9698 | 9698 |
| |
9699 | 9699 |
| |
| 9700 | + | |
| 9701 | + | |
| 9702 | + | |
| 9703 | + | |
9700 | 9704 |
| |
9701 | 9705 |
| |
9702 | 9706 |
| |
|
Lines changed: 3 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
557 | 557 |
| |
558 | 558 |
| |
559 | 559 |
| |
| 560 | + | |
| 561 | + | |
| 562 | + | |
560 | 563 |
| |
561 | 564 |
| |
562 | 565 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
53 | 53 |
| |
54 | 54 |
| |
55 | 55 |
| |
56 |
| - | |
| 56 | + | |
57 | 57 |
| |
58 | 58 |
|
0 commit comments
Comments
(0)