by keslerm · 10y ago · 0 comments
SET enable_seqscan = OFF;
We use these options a lot on tables that result in odd query plans to get them doing the best option..
What scares me is that this is unreliable, and according to the documentation, the optimizer is free to choose to ignore everything that I say whenever it wants. The fact that it already HAS done that to me does not provide me comfort.