doc: Fix command example to run regression tests with PGOPTIONS
authorMichael Paquier <michael@paquier.xyz>
Mon, 26 Jul 2021 07:26:47 +0000 (16:26 +0900)
committerMichael Paquier <michael@paquier.xyz>
Mon, 26 Jul 2021 07:26:47 +0000 (16:26 +0900)
The documentation mentioned the use of log_checkpoints, that cannot be
used in this context.  This commit replaces log_checkpoints with
force_parallel_mode, a developer option useful to perform checks related
to parallelism.

Oversight in 854434c.

Author: Haiying Tang
Discussion: https://postgr.es/m/OS0PR01MB6113954B883ACEB2DDC973F2FBE59@OS0PR01MB6113.jpnprd01.prod.outlook.com
Backpatch-through: 14

doc/src/sgml/regress.sgml

index acc7a50c2f2e2f67b77f9841211eba95f1311c03..724ef566e76d3129edd65ae9529af27d7a9d96de 100644 (file)
@@ -359,7 +359,7 @@ make check LANG=C ENCODING=EUC_JP
     set in the <varname>PGOPTIONS</varname> environment variable (for settings
     that allow this):
 <screen>
-make check PGOPTIONS="-c log_checkpoints=on -c work_mem=50MB"
+make check PGOPTIONS="-c force_parallel_mode=regress -c work_mem=50MB"
 </screen>
     When running against a temporary installation, custom settings can also be
     set by supplying a pre-written <filename>postgresql.conf</filename>: