]> granicus.if.org Git - postgresql/commit
Change MemoryContextMemAllocated to return Size
authorTomas Vondra <tomas.vondra@postgresql.org>
Sat, 5 Oct 2019 18:49:39 +0000 (20:49 +0200)
committerTomas Vondra <tomas.vondra@postgresql.org>
Sat, 5 Oct 2019 18:49:39 +0000 (20:49 +0200)
commit36425ece5d6c78177cdc1453a9925a0bb85da59f
tree57fd79f7b0c3a73364fe81cb2bea698a9de16875
parente800bd7414df3ce8170761e5b75b13e83f576988
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
src/backend/utils/mmgr/mcxt.c
src/include/utils/memutils.h