gabriel writes:
> So my question is why in the first case the postgre did'nt use the index
> and made a seq scan ??
Because it thinks the sequential scan will be faster. You didn't show any
evidence to the contrary.
--
Peter Eisentraut peter_e(at)gmx(dot)net http://funkturm.homeip.net/~peter