diff options
author | Daniel Gustafsson <dgustafsson@postgresql.org> | 2025-04-10 22:40:27 +0200 |
---|---|---|
committer | Daniel Gustafsson <dgustafsson@postgresql.org> | 2025-04-10 22:40:27 +0200 |
commit | 55ef7abf88c07e9f716846e645e1628c667c54a7 (patch) | |
tree | 23a40ab9d8670c83944772e92531aa47a4d17d3f /src/include/utils/memutils.h | |
parent | 22cb6d289500ef22163a9d7cf2afa496f41b4d4c (diff) | |
download | postgresql-55ef7abf88c07e9f716846e645e1628c667c54a7.tar.gz postgresql-55ef7abf88c07e9f716846e645e1628c667c54a7.zip |
Rename global variable backing DSA area
The global variable backing the DSA area for Memory Context stats
reporting had a too generic name, rename to be more descriptive.
Independently reported by Peter and Laurenz.
Author: Daniel Gustafsson <daniel@yesql.se>
Reported-by: Peter Eisentraut <peter@eisentraut.org>
Reported-by: Laurenz Albe <laurenz.albe@cybertec.at>
Discussion: https://postgr.es/m/d51172bd4e7f4b07a18a0288ca1b1c28a71a5f6a.camel@cybertec.at
Discussion: https://postgr.es/m/25095db5-b595-4b85-9100-d358907c25b5@eisentraut.org
Diffstat (limited to 'src/include/utils/memutils.h')
-rw-r--r-- | src/include/utils/memutils.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/utils/memutils.h b/src/include/utils/memutils.h index d328270fafc..c0987dca155 100644 --- a/src/include/utils/memutils.h +++ b/src/include/utils/memutils.h @@ -394,11 +394,11 @@ typedef struct MemoryStatsContextId extern PGDLLIMPORT MemoryStatsBackendState *memCxtState; extern PGDLLIMPORT MemoryStatsCtl *memCxtArea; +extern PGDLLIMPORT dsa_area *MemoryStatsDsaArea; extern void ProcessGetMemoryContextInterrupt(void); extern const char *ContextTypeToString(NodeTag type); extern void HandleGetMemoryContextInterrupt(void); extern Size MemoryContextReportingShmemSize(void); extern void MemoryContextReportingShmemInit(void); extern void AtProcExit_memstats_cleanup(int code, Datum arg); -extern dsa_area *area; #endif /* MEMUTILS_H */ |