pgsql: Change MemoryContextMemAllocated to return Size

Поиск
Список
Период
Сортировка
От Tomas Vondra
Тема pgsql: Change MemoryContextMemAllocated to return Size
Дата
Msg-id E1iGpBi-00021c-Ct@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
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(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Noah Misch
Дата:
Сообщение: pgsql: Report test_atomic_ops() failures consistently, via macros.
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Avoid trying to release a List's initial allocation via repalloc