From: David Rowley Date: Tue, 29 Oct 2024 03:26:41 +0000 (+1300) Subject: Doc: clarify enable_indexscan=off also disabled Index Only Scans X-Git-Tag: REL_12_21~27 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=857f13f79994c7314605236b2ab567eb9d6c4766;p=thirdparty%2Fpostgresql.git 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 --- diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml index 38f09327d88..6f1772ffb42 100644 --- a/doc/src/sgml/config.sgml +++ b/doc/src/sgml/config.sgml @@ -4615,8 +4615,9 @@ ANY num_sync ( . @@ -4631,7 +4632,9 @@ ANY num_sync ( ). - The default is on. + The default is on. The + setting must also be + enabled to have the query planner consider index-only-scans.