Re: Creating a function for exposing memory usage of backend process

From: Fujii Masao <masao(dot)fujii(at)oss(dot)nttdata(dot)com>
To: Michael Paquier <michael(at)paquier(dot)xyz>
Cc: torikoshia <torikoshia(at)oss(dot)nttdata(dot)com>, Kasahara Tatsuhito <kasahara(dot)tatsuhito(at)gmail(dot)com>, Andres Freund <andres(at)anarazel(dot)de>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>, Robert Haas <robertmhaas(at)gmail(dot)com>
Subject: Re: Creating a function for exposing memory usage of backend process
Date: 2020-08-25 02:12:03
Message-ID: 0a768ae1-1703-59c7-86cc-7068ff5e318c@oss.nttdata.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 2020/08/24 17:09, Michael Paquier wrote:
> On Mon, Aug 24, 2020 at 02:48:50PM +0900, Fujii Masao wrote:
>> As far as I know, utils/adt is the directory to basically include the files
>> for a particular type or operator. So ISTM that mcxtfuncs.c doesn't
>> fit to this directory. Isn't it better to put that in utils/mmgr ?
>
> We have also stuff like ruleutils.c, dbsize.c, genfile.c there which
> is rather generic, so I would rather leave utils/mmgr/ out of the
> business of this thread, and just keep inside all the lower-level APIs
> for memory context handling.

Understood. So I will commit the latest patch 0001-Rellocated-the-codes-for-pg_backend_memory_contexts-.patch.

Regards,

--
Fujii Masao
Advanced Computing Technology Center
Research and Development Headquarters
NTT DATA CORPORATION

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Geoghegan 2020-08-25 02:17:16 Re: Problems with the FSM, heap fillfactor, and temporal locality
Previous Message Bruce Momjian 2020-08-25 02:06:45 Re: "cert" + clientcert=verify-ca in pg_hba.conf?