Change MemoryContextMemAllocated to return Size
Tomas Vondra <tomas.vondra@postgresql.org>
Change MemoryContextMemAllocated to return Size Commit f2369bc610 switched most of the memory accounting from int64 to Size, but it forgot to change the MemoryContextMemAllocated return type. So this fixes that omission. Discussion: https://www.postgresql.org/message-id/11238.1570200198%40sss.pgh.pa.us
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/utils/mmgr/mcxt.c | modified | +2 −2 |
| src/include/utils/memutils.h | modified | +1 −1 |
Discussion
- Memory Accounting 28 messages · 2019-07-18 → 2019-10-04