pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Fujii Masao <fujii@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Move codes for pg_backend_memory_contexts from mmgr/mcxt.c to ad
Date: Wed, 26 Aug 2020 01:53:15 +0000
Message-ID: <E1kAkcl-0007cc-AR@gemulon.postgresql.org> (raw)

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(-)



Message-ID: <E1kAkcl-0007cc-AR@gemulon.postgresql.org>
Permalink:  ../E1kAkcl-0007cc-AR@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1kAkcl-0007cc-AR@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: fujii@postgresql.org
  Subject: Re: pgsql: Move codes for pg_backend_memory_contexts from mmgr/mcxt.c to ad
  In-Reply-To: <E1kAkcl-0007cc-AR@gemulon.postgresql.org>
  References: <E1kAkcl-0007cc-AR@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox