Skip to content

Commit 857f13f

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 e30d0d8 commit 857f13f

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
@@ -4615,8 +4615,9 @@ ANY <replaceable class="parameter">num_sync</replaceable> ( <replaceable class="
46154615
</term>
46164616
<listitem>
46174617
<para>
4618-
Enables or disables the query planner's use of index-scan plan
4619-
types. The default is <literal>on</literal>.
4618+
Enables or disables the query planner's use of index-scan and
4619+
index-only-scan plan types. The default is <literal>on</literal>.
4620+
Also see <xref linkend="guc-enable-indexonlyscan"/>.
46204621
</para>
46214622
</listitem>
46224623
</varlistentry>
@@ -4631,7 +4632,9 @@ ANY <replaceable class="parameter">num_sync</replaceable> ( <replaceable class="
46314632
<para>
46324633
Enables or disables the query planner's use of index-only-scan plan
46334634
types (see <xref linkend="indexes-index-only-scans"/>).
4634-
The default is <literal>on</literal>.
4635+
The default is <literal>on</literal>. The
4636+
<xref linkend="guc-enable-indexscan"/> setting must also be
4637+
enabled to have the query planner consider index-only-scans.
46354638
</para>
46364639
</listitem>
46374640
</varlistentry>

0 commit comments

Comments
 (0)