On 27 April 2012 16:08, Simon Riggs <simon@2ndquadrant.com> wrote:
> I notice that there isn't a parameter called enable_indexonly (or similar).
>
> ISTM that such a major new feature should be controlled by a planner
> method parameter, just as all the existing planner methods are.
>
> This will help us evaluate index only scans in production, and turn
> them off if they have negative impacts.
It already exists and is called "enable_indexonlyscan".
--
Thom