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@gmx.net http://funkturm.homeip.net/~peter