@@ -5912,51 +5912,6 @@ SELECT * FROM parent WHERE key = 2400;
5912
5912
</listitem>
5913
5913
</varlistentry>
5914
5914
5915
- <varlistentry id="guc-force-parallel-mode" xreflabel="force_parallel_mode">
5916
- <term><varname>force_parallel_mode</varname> (<type>enum</type>)
5917
- <indexterm>
5918
- <primary><varname>force_parallel_mode</varname> configuration parameter</primary>
5919
- </indexterm>
5920
- </term>
5921
- <listitem>
5922
- <para>
5923
- Allows the use of parallel queries for testing purposes even in cases
5924
- where no performance benefit is expected.
5925
- The allowed values of <varname>force_parallel_mode</varname> are
5926
- <literal>off</literal> (use parallel mode only when it is expected to improve
5927
- performance), <literal>on</literal> (force parallel query for all queries
5928
- for which it is thought to be safe), and <literal>regress</literal> (like
5929
- <literal>on</literal>, but with additional behavior changes as explained
5930
- below).
5931
- </para>
5932
-
5933
- <para>
5934
- More specifically, setting this value to <literal>on</literal> will add
5935
- a <literal>Gather</literal> node to the top of any query plan for which this
5936
- appears to be safe, so that the query runs inside of a parallel worker.
5937
- Even when a parallel worker is not available or cannot be used,
5938
- operations such as starting a subtransaction that would be prohibited
5939
- in a parallel query context will be prohibited unless the planner
5940
- believes that this will cause the query to fail. If failures or
5941
- unexpected results occur when this option is set, some functions used
5942
- by the query may need to be marked <literal>PARALLEL UNSAFE</literal>
5943
- (or, possibly, <literal>PARALLEL RESTRICTED</literal>).
5944
- </para>
5945
-
5946
- <para>
5947
- Setting this value to <literal>regress</literal> has all of the same effects
5948
- as setting it to <literal>on</literal> plus some additional effects that are
5949
- intended to facilitate automated regression testing. Normally,
5950
- messages from a parallel worker include a context line indicating that,
5951
- but a setting of <literal>regress</literal> suppresses this line so that the
5952
- output is the same as in non-parallel execution. Also,
5953
- the <literal>Gather</literal> nodes added to plans by this setting are hidden
5954
- in <literal>EXPLAIN</literal> output so that the output matches what
5955
- would be obtained if this setting were turned <literal>off</literal>.
5956
- </para>
5957
- </listitem>
5958
- </varlistentry>
5959
-
5960
5915
<varlistentry id="guc-plan-cache_mode" xreflabel="plan_cache_mode">
5961
5916
<term><varname>plan_cache_mode</varname> (<type>enum</type>)
5962
5917
<indexterm>
@@ -10374,11 +10329,10 @@ dynamic_library_path = 'C:\tools\postgresql;H:\my_project\lib;$libdir'
10374
10329
<title>Developer Options</title>
10375
10330
10376
10331
<para>
10377
- The following parameters are intended for work on the
10378
- <productname>PostgreSQL</productname> source code, and in some cases
10379
- to assist with recovery of severely damaged databases. There
10380
- should be no reason to use them on a production database.
10381
- As such, they have been excluded from the sample
10332
+ The following parameters are intended for developer testing, and
10333
+ should never be used on a production database. However, some of
10334
+ them can be used to assist with the recovery of severely damaged
10335
+ databases. As such, they have been excluded from the sample
10382
10336
<filename>postgresql.conf</filename> file. Note that many of these
10383
10337
parameters require special source compilation flags to work at all.
10384
10338
</para>
@@ -10464,6 +10418,51 @@ dynamic_library_path = 'C:\tools\postgresql;H:\my_project\lib;$libdir'
10464
10418
</listitem>
10465
10419
</varlistentry>
10466
10420
10421
+ <varlistentry id="guc-force-parallel-mode" xreflabel="force_parallel_mode">
10422
+ <term><varname>force_parallel_mode</varname> (<type>enum</type>)
10423
+ <indexterm>
10424
+ <primary><varname>force_parallel_mode</varname> configuration parameter</primary>
10425
+ </indexterm>
10426
+ </term>
10427
+ <listitem>
10428
+ <para>
10429
+ Allows the use of parallel queries for testing purposes even in cases
10430
+ where no performance benefit is expected.
10431
+ The allowed values of <varname>force_parallel_mode</varname> are
10432
+ <literal>off</literal> (use parallel mode only when it is expected to improve
10433
+ performance), <literal>on</literal> (force parallel query for all queries
10434
+ for which it is thought to be safe), and <literal>regress</literal> (like
10435
+ <literal>on</literal>, but with additional behavior changes as explained
10436
+ below).
10437
+ </para>
10438
+
10439
+ <para>
10440
+ More specifically, setting this value to <literal>on</literal> will add
10441
+ a <literal>Gather</literal> node to the top of any query plan for which this
10442
+ appears to be safe, so that the query runs inside of a parallel worker.
10443
+ Even when a parallel worker is not available or cannot be used,
10444
+ operations such as starting a subtransaction that would be prohibited
10445
+ in a parallel query context will be prohibited unless the planner
10446
+ believes that this will cause the query to fail. If failures or
10447
+ unexpected results occur when this option is set, some functions used
10448
+ by the query may need to be marked <literal>PARALLEL UNSAFE</literal>
10449
+ (or, possibly, <literal>PARALLEL RESTRICTED</literal>).
10450
+ </para>
10451
+
10452
+ <para>
10453
+ Setting this value to <literal>regress</literal> has all of the same effects
10454
+ as setting it to <literal>on</literal> plus some additional effects that are
10455
+ intended to facilitate automated regression testing. Normally,
10456
+ messages from a parallel worker include a context line indicating that,
10457
+ but a setting of <literal>regress</literal> suppresses this line so that the
10458
+ output is the same as in non-parallel execution. Also,
10459
+ the <literal>Gather</literal> nodes added to plans by this setting are hidden
10460
+ in <literal>EXPLAIN</literal> output so that the output matches what
10461
+ would be obtained if this setting were turned <literal>off</literal>.
10462
+ </para>
10463
+ </listitem>
10464
+ </varlistentry>
10465
+
10467
10466
<varlistentry id="guc-ignore-system-indexes" xreflabel="ignore_system_indexes">
10468
10467
<term><varname>ignore_system_indexes</varname> (<type>boolean</type>)
10469
10468
<indexterm>
0 commit comments