Re: pgsql: Use bump memory context for tuplesorts

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Melanie Plageman <melanieplageman(at)gmail(dot)com>
Cc: David Rowley <drowley(at)postgresql(dot)org>, pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: Re: pgsql: Use bump memory context for tuplesorts
Date: 2024-04-07 17:52:28
Message-ID: 2888918.1712512348@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Melanie Plageman <melanieplageman(at)gmail(dot)com> writes:
> Looks like this assert is tripping on grison [1].

> running bootstrap script ... TRAP: failed Assert("total_allocated ==
> context->mem_allocated"), File: "bump.c", Line: 808, PID: 30248

The same on mamba. However, I failed to duplicate it in an x86
(32-bit) VM. I think the critical factor on the failing machines
is that MAXALIGN is 8 which is more than their sizeof(pointer).

regards, tom lane

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Geoghegan 2024-04-07 18:16:22 pgsql: Avoid extra lookups with nbtree array inequalities.
Previous Message Heikki Linnakangas 2024-04-07 17:31:31 pgsql: Improve check in LDAP test to find the OpenLDAP installation