Skip to content

Commit dda7816

Browse files
committed
Doc: clarify enable_indexscan=off also disabled Index Only Scans
Disabling enable_indexscan has always also disabled Index Only Scans. Here we make that more clear in the documentation in an attempt to prevent future complaints complaining about this expected behavior. Reported-by: Melanie Plageman Author: David G. Johnston, David Rowley Backpatch-through: 12, oldest supported version Discussion: https://postgr.es/m/CAAKRu_atV=kovgpaLREyG68PB5+ncKvJ2UNoeRetEgyC3Yb5Sw@mail.gmail.com
1 parent 49a2344 commit dda7816

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

doc/src/sgml/config.sgml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5442,8 +5442,9 @@ ANY <replaceable class="parameter">num_sync</replaceable> ( <replaceable class="
54425442
</term>
54435443
<listitem>
54445444
<para>
5445-
Enables or disables the query planner's use of index-scan plan
5446-
types. The default is <literal>on</literal>.
5445+
Enables or disables the query planner's use of index-scan and
5446+
index-only-scan plan types. The default is <literal>on</literal>.
5447+
Also see <xref linkend="guc-enable-indexonlyscan"/>.
54475448
</para>
54485449
</listitem>
54495450
</varlistentry>
@@ -5458,7 +5459,9 @@ ANY <replaceable class="parameter">num_sync</replaceable> ( <replaceable class="
54585459
<para>
54595460
Enables or disables the query planner's use of index-only-scan plan
54605461
types (see <xref linkend="indexes-index-only-scans"/>).
5461-
The default is <literal>on</literal>.
5462+
The default is <literal>on</literal>. The
5463+
<xref linkend="guc-enable-indexscan"/> setting must also be
5464+
enabled to have the query planner consider index-only-scans.
54625465
</para>
54635466
</listitem>
54645467
</varlistentry>

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy