Robert Haas <robertmh...@gmail.com> writes: > Well, now I'm confused. Just yesterday, in response to the 0001 patch > that allows extensions to exert control over the join strategy, you > complained that "Or, if your problem is that the planner wants to scan > index A but you want it to scan index B, enable_indexscan won't help."
I was just using that to illustrate that making the enable_XXX GUCs relation-local covers only a small part of the planner-control problem. You had not, at that point, been very clear that you intended that patch as only a small part of a solution. I do think that index selection is pretty well under control already, thanks to stuff that we put in ages ago at the urging of people who wanted to write "index advisor" extensions. (The fact that that area seems a bit moribund is disheartening, though. Is it a lack of documentation?) regards, tom lane