From: Álvaro Herrera <alvherre@kurilemu.de>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Adapt pg_upgrade test to pg_lsn output format difference
Date: Mon, 07 Jul 2025 20:39:09 +0000
Message-ID: <E1uYscH-005A8K-2E@gemulon.postgresql.org> (raw)
Adapt pg_upgrade test to pg_lsn output format difference
Commit 2633dae2e487 added some zero padding to various LSNs output
routines so that the low word is always 8 hex digits long, for easy
human consumption. This included the pg_lsn datatype, which breaks the
pg_upgrade test when it compares the pg_dump output of an older version.
Silence this problem by setting the pg_lsn columns to NULL before the
upgrade.
Discussion: https://postgr.es/m/202507071504.xm2r26u7lmzr@alvherre.pgsql
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/3adcf9fbd8ba9c07edb3ef5168a259fb12e6e3a6
Modified Files
--------------
src/test/perl/PostgreSQL/Test/AdjustUpgrade.pm | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
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: alvherre@kurilemu.de, pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Adapt pg_upgrade test to pg_lsn output format difference
In-Reply-To: <E1uYscH-005A8K-2E@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