pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Robert Haas <rhaas@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: In 002_blocks.pl, try to prevent a HOT update.
Date: Wed, 31 Jan 2024 16:37:47 +0000
Message-ID: <E1rVDat-0041HR-3r@gemulon.postgresql.org> (raw)

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(-)



Message-ID: <E1rVDat-0041HR-3r@gemulon.postgresql.org>
Permalink:  ../E1rVDat-0041HR-3r@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1rVDat-0041HR-3r@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: rhaas@postgresql.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: In 002_blocks.pl, try to prevent a HOT update.
  In-Reply-To: <E1rVDat-0041HR-3r@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