Skip to content

Commit e5086b3

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 bb584e8 commit e5086b3

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
@@ -5419,8 +5419,9 @@ ANY <replaceable class="parameter">num_sync</replaceable> ( <replaceable class="
54195419
</term>
54205420
<listitem>
54215421
<para>
5422-
Enables or disables the query planner's use of index-scan plan
5423-
types. The default is <literal>on</literal>.
5422+
Enables or disables the query planner's use of index-scan and
5423+
index-only-scan plan types. The default is <literal>on</literal>.
5424+
Also see <xref linkend="guc-enable-indexonlyscan"/>.
54245425
</para>
54255426
</listitem>
54265427
</varlistentry>
@@ -5435,7 +5436,9 @@ ANY <replaceable class="parameter">num_sync</replaceable> ( <replaceable class="
54355436
<para>
54365437
Enables or disables the query planner's use of index-only-scan plan
54375438
types (see <xref linkend="indexes-index-only-scans"/>).
5438-
The default is <literal>on</literal>.
5439+
The default is <literal>on</literal>. The
5440+
<xref linkend="guc-enable-indexscan"/> setting must also be
5441+
enabled to have the query planner consider index-only-scans.
54395442
</para>
54405443
</listitem>
54415444
</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