index paths and enable_indexscan - Mailing list pgsql-hackers

From Amit Langote
Subject index paths and enable_indexscan
Date
Msg-id CA+HiwqFfORfr2V6uotcSz1YkL0z83gf4Api78pT8qv+qXBobpQ@mail.gmail.com
Whole thread Raw
Responses Re: index paths and enable_indexscan
List pgsql-hackers
Hi,

Maybe I am missing something obvious, but is it intentional that
enable_indexscan is checked by cost_index(), that is, *after* creating
an index path?  I was expecting that if enable_indexscan is off, then
no index paths would be generated to begin with, because I thought
they are optional.

-- 

Amit Langote
EnterpriseDB: http://www.enterprisedb.com



pgsql-hackers by date:

Previous
From: Amit Kapila
Date:
Subject: Re: PATCH: logical_work_mem and logical streaming of largein-progress transactions
Next
From: Michael Paquier
Date:
Subject: Incremental sorts and EXEC_FLAG_REWIND