Mr Pink <[EMAIL PROTECTED]> writes: > AFAIK postgres doesn't peek at values used in a query when optimizing
Of course it does. However sometimes things don't work perfectly. To get good answers rather than just guesses we'll need two things: . What version of postgres are you using. . The output of EXPLAIN ANALYZE select ... -- greg ---------------------------(end of broadcast)--------------------------- TIP 8: explain analyze is your friend