Jeff Amiel <becauseimjeff(at)yahoo(dot)com> writes:> It appears that somehow the empty string is causing the planner to abandon the index.
You didn't actually show us such a case...
regards, tom lane