From 16affb34b3f53b4639a136f9eb1d927c89780ec1 Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Sun, 29 Oct 2023 16:48:16 +0100 Subject: [PATCH v3 1/2] doc: pg_resetwal: Add comments how the multipliers are derived Discussion: https://www.postgresql.org/message-id/flat/0f3ab4a1-ae80-56e8-3426-6b4a02507687@eisentraut.org --- doc/src/sgml/ref/pg_resetwal.sgml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/doc/src/sgml/ref/pg_resetwal.sgml b/doc/src/sgml/ref/pg_resetwal.sgml index 08cd3ce5fc2..cf9c7e70f27 100644 --- a/doc/src/sgml/ref/pg_resetwal.sgml +++ b/doc/src/sgml/ref/pg_resetwal.sgml @@ -166,7 +166,8 @@ Options pg_resetwal is unable to determine appropriate values by reading pg_control. Safe values can be determined as described below. For values that take numeric arguments, hexadecimal - values can be specified by using the prefix 0x. + values can be specified by using the prefix 0x. Note + that these instructions only apply with the standard block size of 8 kB. @@ -189,6 +190,7 @@ Options greatest file name in the same directory. The file names are in hexadecimal. + @@ -272,6 +274,7 @@ Options names are in hexadecimal, so the easiest way to do this is to specify the option value in hexadecimal and append four zeroes. + @@ -306,6 +309,7 @@ Options The file names are in hexadecimal. There is no simple recipe such as the ones for other options of appending zeroes. + @@ -354,6 +358,7 @@ Options in pg_xact, -u 0x700000 will work (five trailing zeroes provide the proper multiplier). + @@ -375,6 +380,7 @@ Options in pg_xact, -x 0x1200000 will work (five trailing zeroes provide the proper multiplier). + base-commit: 237f8765dfd9149471d37f3754d15cef888338a8 -- 2.42.0