pgsql: Print new OldestXID value in pg_resetwal when it's being changed

From: Heikki Linnakangas <heikki(dot)linnakangas(at)iki(dot)fi>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Print new OldestXID value in pg_resetwal when it's being changed
Date: 2025-11-19 16:08:16
Message-ID: E1vLkjA-000K3o-1W@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Print new OldestXID value in pg_resetwal when it's being changed

Commit 74cf7d46a91d added the --oldest-transaction-id option to
pg_resetwal, but forgot to update the code that prints all the new
values that are being set. Fix that.

Reviewed-by: Bertrand Drouvot <bertranddrouvot(dot)pg(at)gmail(dot)com>
Discussion: https://www.postgresql.org/message-id/5461bc85-e684-4531-b4d2-d2e57ad18cba@iki.fi
Backpatch-through: 14

Branch
------
REL_18_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/19594271c1a2b5447f4ee85cd7676606faa2a682

Modified Files
--------------
src/bin/pg_resetwal/pg_resetwal.c | 4 ++++
1 file changed, 4 insertions(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Heikki Linnakangas 2025-11-19 16:08:17 pgsql: Print new OldestXID value in pg_resetwal when it's being changed
Previous Message Nathan Bossart 2025-11-19 16:02:35 pgsql: doc: Update formula for vacuum insert threshold.