Re: Reducing the chunk header sizes on all memory context types

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: David Rowley <dgrowleyml(at)gmail(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Amit Kapila <amit(dot)kapila16(at)gmail(dot)com>, Andres Freund <andres(at)anarazel(dot)de>, Yura Sokolov <y(dot)sokolov(at)postgrespro(dot)ru>, PostgreSQL Developers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Reducing the chunk header sizes on all memory context types
Date: 2022-08-30 15:54:43
Message-ID: CA+Tgmobtt6o_cq8G4L9FmzDjn-yZ3wa5ncPOFThoHNgKMmK7yg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, Aug 30, 2022 at 11:39 AM David Rowley <dgrowleyml(at)gmail(dot)com> wrote:
> On Wed, 31 Aug 2022 at 03:31, David Rowley <dgrowleyml(at)gmail(dot)com> wrote:
> > I've no objections to adding a comment to the enum to
> > explain to future devs. My vote would be for that and add the (int)
> > cast as proposed by Robert.
>
> Here's a patch which adds a comment to MemoryContextMethodID to Robert's patch.

LGTM.

--
Robert Haas
EDB: http://www.enterprisedb.com

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2022-08-30 16:17:33 Re: Reducing the chunk header sizes on all memory context types
Previous Message Robert Haas 2022-08-30 15:53:44 Re: making relfilenodes 56 bits