Thread: pgsql: Change MemoryContextMemAllocated to return Size

pgsql: Change MemoryContextMemAllocated to return Size

From
Tomas Vondra
Date:
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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/36425ece5d6c78177cdc1453a9925a0bb85da59f

Modified Files
--------------
src/backend/utils/mmgr/mcxt.c | 4 ++--
src/include/utils/memutils.h  | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)