pgsql: In 002_blocks.pl, try to prevent a HOT update.

From: Robert Haas <rhaas(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: In 002_blocks.pl, try to prevent a HOT update.
Date: 2024-01-31 16:37:47
Message-ID: E1rVDat-0041HR-3r@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

In 002_blocks.pl, try to prevent a HOT update.

Make the new tuple larger than the old one so that it, hopefully, won't
manage to squeeze into leftover freespace on the same page. The test
is trying to verify that the UPDATE touches 2 pages, but if a HOT
update happens, then it doesn't.

Per buildfarm.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/b6ee30ec0866619eafc10cf43c4714ed1b89fec6

Modified Files
--------------
src/bin/pg_walsummary/t/002_blocks.pl | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2024-01-31 16:51:00 pgsql: Clean pg_walsummary's tmp_check directory.
Previous Message Alvaro Herrera 2024-01-31 15:47:16 pgsql: Update pg_walsummary copyright notices to 2024