@@ -166,7 +166,8 @@ PostgreSQL documentation
166
166
<command>pg_resetwal</command> is unable to determine appropriate values
167
167
by reading <filename>pg_control</filename>. Safe values can be determined as
168
168
described below. For values that take numeric arguments, hexadecimal
169
- values can be specified by using the prefix <literal>0x</literal>.
169
+ values can be specified by using the prefix <literal>0x</literal>. Note
170
+ that these instructions only apply with the standard block size of 8 kB.
170
171
</para>
171
172
172
173
<variablelist>
@@ -189,6 +190,7 @@ PostgreSQL documentation
189
190
greatest file name in the same directory. The file names are in
190
191
hexadecimal.
191
192
</para>
193
+ <!-- XXX: Should there be a multiplier, similar to the other options? -->
192
194
</listitem>
193
195
</varlistentry>
194
196
@@ -272,6 +274,7 @@ PostgreSQL documentation
272
274
names are in hexadecimal, so the easiest way to do this is to specify
273
275
the option value in hexadecimal and append four zeroes.
274
276
</para>
277
+ <!-- 65536 = SLRU_PAGES_PER_SEGMENT * BLCKSZ / sizeof(MultiXactOffset) -->
275
278
</listitem>
276
279
</varlistentry>
277
280
@@ -306,6 +309,7 @@ PostgreSQL documentation
306
309
The file names are in hexadecimal. There is no simple recipe such as
307
310
the ones for other options of appending zeroes.
308
311
</para>
312
+ <!-- 52352 = SLRU_PAGES_PER_SEGMENT * floor(BLCKSZ/20) * 4; see multixact.c -->
309
313
</listitem>
310
314
</varlistentry>
311
315
@@ -354,6 +358,7 @@ PostgreSQL documentation
354
358
in <filename>pg_xact</filename>, <literal>-u 0x700000</literal> will work (five
355
359
trailing zeroes provide the proper multiplier).
356
360
</para>
361
+ <!-- 1048576 = SLRU_PAGES_PER_SEGMENT * BLCKSZ * CLOG_XACTS_PER_BYTE -->
357
362
</listitem>
358
363
</varlistentry>
359
364
@@ -375,6 +380,7 @@ PostgreSQL documentation
375
380
in <filename>pg_xact</filename>, <literal>-x 0x1200000</literal> will work (five
376
381
trailing zeroes provide the proper multiplier).
377
382
</para>
383
+ <!-- 1048576 = SLRU_PAGES_PER_SEGMENT * BLCKSZ * CLOG_XACTS_PER_BYTE -->
378
384
</listitem>
379
385
</varlistentry>
380
386
</variablelist>
0 commit comments