diff options
author | Masahiko Sawada <msawada@postgresql.org> | 2025-02-21 10:14:36 -0800 |
---|---|---|
committer | Masahiko Sawada <msawada@postgresql.org> | 2025-02-21 10:14:36 -0800 |
commit | 30666d1857d7a785331f5805c20ec19430500466 (patch) | |
tree | 9184307e09b0728531b1922a476c16917c43a765 /doc/src | |
parent | 44fe30fdab6746a287163e7cc093fd36cda8eb92 (diff) | |
download | postgresql-30666d1857d7a785331f5805c20ec19430500466.tar.gz postgresql-30666d1857d7a785331f5805c20ec19430500466.zip |
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@leadboat.com>
Discussion: https://postgr.es/m/CB11ADBC-0C3F-4FE0-A678-666EE80CBB07%40amazon.com
Diffstat (limited to 'doc/src')
-rw-r--r-- | doc/src/sgml/ref/pg_resetwal.sgml | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/doc/src/sgml/ref/pg_resetwal.sgml b/doc/src/sgml/ref/pg_resetwal.sgml index cf9c7e70f27..dd011d246c1 100644 --- a/doc/src/sgml/ref/pg_resetwal.sgml +++ b/doc/src/sgml/ref/pg_resetwal.sgml @@ -172,6 +172,25 @@ PostgreSQL documentation <variablelist> <varlistentry> + <term><option>--char-signedness=<replaceable class="parameter">option</replaceable></option></term> + <listitem> + <para> + Manually set the default char signedness. Possible values are + <literal>signed</literal> and <literal>unsigned</literal>. + </para> + <para> + For a database cluster that <command>pg_upgrade</command> upgraded from + a <productname>PostgreSQL</productname> version before 18, the safe + value would be the default <type>char</type> signedness of the platform + that ran the cluster before that upgrade. For all other + clusters, <literal>signed</literal> would be the safe value. However, + this option is exclusively for use with <command>pg_upgrade</command> + and should not normally be used manually. + </para> + </listitem> + </varlistentry> + + <varlistentry> <term><option>-c <replaceable class="parameter">xid</replaceable>,<replaceable class="parameter">xid</replaceable></option></term> <term><option>--commit-timestamp-ids=<replaceable class="parameter">xid</replaceable>,<replaceable class="parameter">xid</replaceable></option></term> <listitem> |