pgsql: pg_resetwal: Add --char-signedness option to change the default

From: Masahiko Sawada <msawada(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: pg_resetwal: Add --char-signedness option to change the default
Date: 2025-02-21 18:15:28
Message-ID: E1tlXYf-000VPq-1P@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

pg_resetwal: Add --char-signedness option to change the default char signedness.

With the newly added option --char-signedness, pg_resetwal updates the
default char signedness flag in the controlfile. This option is
primarily intended for an upcoming patch that pg_upgrade supports
preserving the default char signedness during upgrades, and is not
meant for manual operation.

Reviewed-by: Noah Misch <noah(at)leadboat(dot)com>
Discussion: https://postgr.es/m/CB11ADBC-0C3F-4FE0-A678-666EE80CBB07%40amazon.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/30666d1857d7a785331f5805c20ec19430500466

Modified Files
--------------
doc/src/sgml/ref/pg_resetwal.sgml | 19 +++++++++++++++++++
src/bin/pg_resetwal/pg_resetwal.c | 25 +++++++++++++++++++++++++
src/bin/pg_resetwal/t/001_basic.pl | 6 ++++++
3 files changed, 50 insertions(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Masahiko Sawada 2025-02-21 18:20:37 pgsql: pg_upgrade: Preserve default char signedness value from old clus
Previous Message Masahiko Sawada 2025-02-21 18:13:45 pgsql: Add default_char_signedness field to ControlFileData.