corey(dot)huinker(at)gmail(dot)com writes:> Correct index is used on "WHERE y" and "WHERE y = true" but not "WHERE y IS> TRUE".
y IS TRUE is not actually equivalent to the other two conditions ...
regards, tom lane