Marinos Yannikos <mjy(at)geizhals(dot)at> writes:> Shouldn't PostgreSQL behave in a different way in this case? (e.g. just > not use the index):
Good catch. But why are you using a hash index for this?
regards, tom lane