"Cestmir Hybl" <[EMAIL PROTECTED]> writes: >> In fact, I need to filter by expression ((A is null) or (A > const)).
I wonder whether you shouldn't reconsider your data representation. Perhaps the condition you are using "null" for would be better represented by setting A to infinity. (The float and timestamp datatypes actually have a concept of infinity; for other types you can fake it with a large positive value.) regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 8: explain analyze is your friend