From 6ceec8a1fe7a5028b29bbfe402f645f6fea5fb90 Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Mon, 6 Nov 2023 08:17:54 +0100 Subject: [PATCH] doc: pg_resetwal: Add comments how the multipliers are derived Reviewed-by: Aleksander Alekseev 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 @@ PostgreSQL documentation 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 @@ PostgreSQL documentation greatest file name in the same directory. The file names are in hexadecimal. + @@ -272,6 +274,7 @@ PostgreSQL documentation 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 @@ PostgreSQL documentation 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 @@ PostgreSQL documentation in pg_xact, -u 0x700000 will work (five trailing zeroes provide the proper multiplier). + @@ -375,6 +380,7 @@ PostgreSQL documentation in pg_xact, -x 0x1200000 will work (five trailing zeroes provide the proper multiplier). +