Fix failing regression test on x86-32 machines
authorDavid Rowley <drowley@postgresql.org>
Mon, 31 Mar 2025 21:52:25 +0000 (10:52 +1300)
committerDavid Rowley <drowley@postgresql.org>
Mon, 31 Mar 2025 21:52:25 +0000 (10:52 +1300)
commit3dbdf86c6364d6b8470fa4067096062cea62405a
tree75c24021611ddf3d4700b821754a03aa307086bd
parent2fd3e2fa5c908d05ac4d8b6c2c80fd50c506f32e
Fix failing regression test on x86-32 machines

95d6e9af0 added code to display the tuplestore storage type for
WindowAgg nodes and added a test to ensure the "Disk" storage method was
working correctly by setting work_mem to 64 and running a test which
caused the WindowAgg to go to disk.  Seemingly, the number of rows
chosen there wasn't quite enough for that to happen in x86 32-bit.

Fix this by increasing the number of rows slightly.

I suspect the buildfarm didn't catch this as MEMORY_CONTEXT_CHECKING
builds will use a bit more memory for MemoryChunks to store the
requested_size and also because of the additional space to store the
chunk's sentinel byte.

Reported-by: Christoph Berg <myon@debian.org>
Discussion: https://postgr.es/m/Z-q3ZAM4OhE-4UiI@msg.df7cb.de
src/test/regress/expected/explain.out
src/test/regress/sql/explain.sql