forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit77ea4f9
committed
Grant memory views to pg_read_all_stats.
Grant privileges on views pg_backend_memory_contexts andpg_shmem_allocations to the role pg_read_all_stats. Also grant on theunderlying functions that those views depend on.Author: Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>Reviewed-by: Nathan Bossart <bossartn@amazon.com>Discussion:https://postgr.es/m/CALj2ACWAZo3Ar_EVsn2Zf9irG+hYK3cmh1KWhZS_Od45nd01RA@mail.gmail.com1 parent8af57ad commit77ea4f9
File tree
5 files changed
+81
-3
lines changed- doc/src/sgml
- src
- backend/catalog
- include/catalog
- test/regress
- expected
- sql
5 files changed
+81
-3
lines changedLines changed: 4 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
9916 | 9916 |
| |
9917 | 9917 |
| |
9918 | 9918 |
| |
9919 |
| - | |
| 9919 | + | |
| 9920 | + | |
9920 | 9921 |
| |
9921 | 9922 |
| |
9922 | 9923 |
| |
| |||
12746 | 12747 |
| |
12747 | 12748 |
| |
12748 | 12749 |
| |
12749 |
| - | |
| 12750 | + | |
| 12751 | + | |
12750 | 12752 |
| |
12751 | 12753 |
| |
12752 | 12754 |
| |
|
Lines changed: 4 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
621 | 621 |
| |
622 | 622 |
| |
623 | 623 |
| |
| 624 | + | |
624 | 625 |
| |
| 626 | + | |
625 | 627 |
| |
626 | 628 |
| |
627 | 629 |
| |
628 | 630 |
| |
629 | 631 |
| |
| 632 | + | |
630 | 633 |
| |
| 634 | + | |
631 | 635 |
| |
632 | 636 |
| |
633 | 637 |
| |
|
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 |
|
Lines changed: 47 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2413 | 2413 |
| |
2414 | 2414 |
| |
2415 | 2415 |
| |
| 2416 | + | |
| 2417 | + | |
| 2418 | + | |
| 2419 | + | |
| 2420 | + | |
| 2421 | + | |
| 2422 | + | |
| 2423 | + | |
| 2424 | + | |
| 2425 | + | |
| 2426 | + | |
| 2427 | + | |
| 2428 | + | |
| 2429 | + | |
| 2430 | + | |
| 2431 | + | |
| 2432 | + | |
| 2433 | + | |
| 2434 | + | |
| 2435 | + | |
| 2436 | + | |
| 2437 | + | |
| 2438 | + | |
| 2439 | + | |
| 2440 | + | |
| 2441 | + | |
| 2442 | + | |
| 2443 | + | |
| 2444 | + | |
| 2445 | + | |
| 2446 | + | |
| 2447 | + | |
| 2448 | + | |
| 2449 | + | |
| 2450 | + | |
| 2451 | + | |
| 2452 | + | |
| 2453 | + | |
| 2454 | + | |
| 2455 | + | |
| 2456 | + | |
| 2457 | + | |
| 2458 | + | |
| 2459 | + | |
| 2460 | + | |
| 2461 | + | |
| 2462 | + |
Lines changed: 25 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1476 | 1476 |
| |
1477 | 1477 |
| |
1478 | 1478 |
| |
| 1479 | + | |
| 1480 | + | |
| 1481 | + | |
| 1482 | + | |
| 1483 | + | |
| 1484 | + | |
| 1485 | + | |
| 1486 | + | |
| 1487 | + | |
| 1488 | + | |
| 1489 | + | |
| 1490 | + | |
| 1491 | + | |
| 1492 | + | |
| 1493 | + | |
| 1494 | + | |
| 1495 | + | |
| 1496 | + | |
| 1497 | + | |
| 1498 | + | |
| 1499 | + | |
| 1500 | + | |
| 1501 | + | |
| 1502 | + | |
| 1503 | + |
0 commit comments
Comments
(0)