pgsql: Fix failing Memoize test on 32-bit machines

From: David Rowley <drowley(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix failing Memoize test on 32-bit machines
Date: 2026-08-21 23:39:04
Message-ID: E1wxYpD-00000001ZYd-2GDj@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(at)paquier(dot)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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message David Rowley 2026-08-22 00:49:10 pgsql: Doc: fix typo
Previous Message Nathan Bossart 2026-08-21 19:45:45 pgsql: Fix typo.