forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit2eff9e6
committed
Add helper routines to retrieve data for custom fixed-numbered pgstats
This is useful for extensions to get snapshot and shmem data for customcumulative statistics when these have a fixed number of objects, so asthese do not need to know about the snapshot internals, aka pgStatLocal.An upcoming commit introducing an example template for custom cumulativestats with fixed-numbered objects will make use of these. I havenoticed that this is useful for extension developers while hacking myown example, actually.Author: Michael PaquierReviewed-by: Dmitry Dolgov, Bertrand DrouvotDiscussion:https://postgr.es/m/Zmqm9j5EO0I4W8dx@paquier.xyz1 parent8036d73 commit2eff9e6
1 file changed
+32
-0
lines changedLines changed: 32 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
525 | 525 |
| |
526 | 526 |
| |
527 | 527 |
| |
| 528 | + | |
| 529 | + | |
528 | 530 |
| |
529 | 531 |
| |
530 | 532 |
| |
| |||
842 | 844 |
| |
843 | 845 |
| |
844 | 846 |
| |
| 847 | + | |
| 848 | + | |
| 849 | + | |
| 850 | + | |
| 851 | + | |
| 852 | + | |
| 853 | + | |
| 854 | + | |
| 855 | + | |
| 856 | + | |
| 857 | + | |
| 858 | + | |
| 859 | + | |
| 860 | + | |
| 861 | + | |
| 862 | + | |
| 863 | + | |
| 864 | + | |
| 865 | + | |
| 866 | + | |
| 867 | + | |
| 868 | + | |
| 869 | + | |
| 870 | + | |
| 871 | + | |
| 872 | + | |
| 873 | + | |
| 874 | + | |
| 875 | + | |
| 876 | + | |
845 | 877 |
|
0 commit comments
Comments
(0)