From: | Fujii Masao <fujii(at)postgresql(dot)org> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Move codes for pg_backend_memory_contexts from mmgr/mcxt.c to ad |
Date: | 2020-08-26 01:53:15 |
Message-ID: | E1kAkcl-0007cc-AR@gemulon.postgresql.org |
Views: | Whole Thread | Raw Message | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
Move codes for pg_backend_memory_contexts from mmgr/mcxt.c to adt/mcxtfuncs.c.
Previously the codes for pg_backend_memory_contexts were in
src/backend/utils/mmgr/mcxt.c. This commit moves them to
src/backend/utils/adt/mcxtfuncs.c so that mcxt.c basically includes
only the low-level interface for memory contexts.
Author: Atsushi Torikoshi
Reviewed-by: Michael Paquier, Fujii Masao
Discussion: https://postgr.es/m/20200819135545.GC19121@paquier.xyz
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/50db5964ee333bc148e0c8844ffafaf585c719c6
Modified Files
--------------
src/backend/utils/adt/Makefile | 1 +
src/backend/utils/adt/mcxtfuncs.c | 157 ++++++++++++++++++++++++++++++++++++++
src/backend/utils/mmgr/mcxt.c | 137 ---------------------------------
3 files changed, 158 insertions(+), 137 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Amit Kapila | 2020-08-26 02:59:57 | pgsql: Extend the BufFile interface. |
Previous Message | David Rowley | 2020-08-25 22:52:16 | pgsql: Fixup some misusages of bms_num_members() |