Re: Parent/child context relation in pg_get_backend_memory_contexts()

From: David Rowley <dgrowleyml(at)gmail(dot)com>
To: Melih Mutlu <m(dot)melihmutlu(at)gmail(dot)com>
Cc: Robert Haas <robertmhaas(at)gmail(dot)com>, Michael Paquier <michael(at)paquier(dot)xyz>, torikoshia <torikoshia(at)oss(dot)nttdata(dot)com>, Andres Freund <andres(at)anarazel(dot)de>, Stephen Frost <sfrost(at)snowman(dot)net>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Parent/child context relation in pg_get_backend_memory_contexts()
Date: 2024-07-24 09:47:14
Message-ID: CAApHDvoESWn6cFR=VWLjgsKmBTDqagXO67OMKFdMOoXZ5=G1EA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, 23 Jul 2024 at 22:14, Melih Mutlu <m(dot)melihmutlu(at)gmail(dot)com> wrote:
> Fixed the name. Also I needed to cast parameters when calling that function as below to get rid of some warnings.
>
> + get_memory_context_name_and_ident(context,
> + (const char **)&name,
> + (const char **) &ident);

Thanks for fixing all those.

I've only had a quick look so far, but I think the patch is now in the
right shape. Unless there's some objections to how things are being
done in v10, I plan to commit this in the next few days... modulo any
minor adjustments.

David

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message torikoshia 2024-07-24 10:43:37 Re: Add on_error and log_verbosity options to file_fdw
Previous Message Alexander Kuznetsov 2024-07-24 09:43:19 Detect buffer underflow in get_th()