pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: David Rowley <drowley@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Fix failing Memoize test on 32-bit machines
Date: Fri, 21 Aug 2026 23:39:04 +0000
Message-ID: <E1wxYpD-00000001ZYd-2GDj@gemulon.postgresql.org> (raw)

Fix failing Memoize test on 32-bit machines

609f969f6 reduced memory overheads for storing a tuple in Memoize.  That
resulted in a Memoize eviction test no longer evicting anything from the
cache on 32-bit machines.

Here we fix that by adding another column to store in the cached
MinimalTuple.

Reported-by: Michael Paquier <michael@paquier.xyz>
Discussion: https://postgr.es/m/aof8KwoXaqOBFR_D@paquier.xyz

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/7788fcf39bf98c3403f052f3edd73d86fe1501a7

Modified Files
--------------
src/test/regress/expected/memoize.out | 11 +++++------
src/test/regress/sql/memoize.sql      |  2 +-
2 files changed, 6 insertions(+), 7 deletions(-)



Message-ID: <E1wxYpD-00000001ZYd-2GDj@gemulon.postgresql.org>
Permalink:  ../E1wxYpD-00000001ZYd-2GDj@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1wxYpD-00000001ZYd-2GDj@gemulon.postgresql.org

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: drowley@postgresql.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Fix failing Memoize test on 32-bit machines
  In-Reply-To: <E1wxYpD-00000001ZYd-2GDj@gemulon.postgresql.org>

* 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