pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andres Freund <andres@anarazel.de>
Cc: David Rowley <dgrowleyml@gmail.com>
Cc: Julien Rouhaud <rjuju123@gmail.com>
Cc: Robert Haas <robertmhaas@gmail.com>
Cc: Yura Sokolov <y.sokolov@postgrespro.ru>
Cc: PostgreSQL Developers <pgsql-hackers@lists.postgresql.org>
Subject: Re: Reducing the chunk header sizes on all memory context types
Date: Thu, 06 Oct 2022 15:10:44 -0400
Message-ID: <2921309.1665083444@sss.pgh.pa.us> (raw)
In-Reply-To: <20221006190058.rgk4gxa34d6rg77o@awork3.anarazel.de>
References: <CAApHDvrsqN_qM7JaiKgR3Sf5YmnYvgf6kcFUp=w1Ot06nZAfUw@mail.gmail.com>
	<CAApHDvrNLEkNLhtsp6uZ9+Hdc7LkF_LC3eT32+nedu0teCWccQ@mail.gmail.com>
	<555399.1663636988@sss.pgh.pa.us>
	<CAApHDvoBxz7RiJiyGzi-wN4c-vLg9TGQ8yTmFW1j6eUJPsP4DA@mail.gmail.com>
	<CAApHDvqE9TRO43CyBMaCmPwt4N=6Ei7! ! f=zo6sk0rFZaYXOk_8Q@mail.gmail.com>
	<1693074.1664825870@sss.pgh.pa.us>
	<1913788.1664898906@sss.pgh.pa.us>
	<CAApHDvoOWpxq0UucD0W11=99GopDwozTr=+bt2AmZFgHi87gmg@mail.gmail.com>
	<2869610.1665077908@sss.pgh.pa.us>
	<2910981.1665080361@sss.pgh.pa.us>
	<20221006190058.rgk4gxa34d6rg77o@awork3.anarazel.de>

Andres Freund <andres@anarazel.de> writes:
> Yea, that makes sense. I wouldn't get rid of the MAXALIGN Assert though - it's
> not replaced by the the unused mcxt stuff afaics.

OK.

>> +	elog(ERROR, "pfree called with invalid pointer %p", pointer);

> Maybe worth printing the method ID as well?

I doubt it'd be useful.

			regards, tom lane





view thread (152+ messages)  latest in thread

Message-ID: <2921309.1665083444@sss.pgh.pa.us>
Permalink:  ../2921309.1665083444@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/2921309.1665083444@sss.pgh.pa.us

 · 

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-hackers@postgresql.org
  Cc: tgl@sss.pgh.pa.us, andres@anarazel.de, dgrowleyml@gmail.com, rjuju123@gmail.com, robertmhaas@gmail.com, y.sokolov@postgrespro.ru
  Subject: Re: Reducing the chunk header sizes on all memory context types
  In-Reply-To: <2921309.1665083444@sss.pgh.pa.us>
  References: <CAApHDvrsqN_qM7JaiKgR3Sf5YmnYvgf6kcFUp=w1Ot06nZAfUw@mail.gmail.com> <CAApHDvrNLEkNLhtsp6uZ9+Hdc7LkF_LC3eT32+nedu0teCWccQ@mail.gmail.com> <555399.1663636988@sss.pgh.pa.us> <CAApHDvoBxz7RiJiyGzi-wN4c-vLg9TGQ8yTmFW1j6eUJPsP4DA@mail.gmail.com> <1693074.1664825870@sss.pgh.pa.us> <1913788.1664898906@sss.pgh.pa.us> <CAApHDvoOWpxq0UucD0W11=99GopDwozTr=+bt2AmZFgHi87gmg@mail.gmail.com> <2869610.1665077908@sss.pgh.pa.us> <2910981.1665080361@sss.pgh.pa.us> <20221006190058.rgk4gxa34d6rg77o@awork3.anarazel.de> <2921309.1665083444@sss.pgh.pa.us>

* 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