Change MemoryContextMemAllocated to return Size

Tomas Vondra <tomas.vondra@postgresql.org>

Commit: 36425ece5d6c78177cdc1453a9925a0bb85da59f
Author: Tomas Vondra <tomas.vondra@postgresql.org>
Date: 2019-10-05T18:49:39Z
Releases: 13.0
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

PathChange+/−
src/backend/utils/mmgr/mcxt.c modified +2 −2
src/include/utils/memutils.h modified +1 −1

Discussion