Palle Girgensohn <girgen(at)pingpong(dot)net> writes:> On 7.4.5, it uses the index, but on 8.0rc5, it does not:
Have you ANALYZEd the 8.0 table lately? Those rowcount estimates lookmighty far off.
regards, tom lane