"Atanas Hristov" <[EMAIL PROTECTED]> writes: > Maybe it is more convient to cast automaticly in sich a case? :
These are the same query. I think you've forgotten to consider the effects of caching on repeated execution of a query. regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 9: In versions below 8.0, the planner will ignore your desire to choose an index scan if your joining column's datatypes do not match