[EMAIL PROTECTED] writes: > Here are the facts: Postgres version? Tables needed by the function (declaration and sample data)? I tried to reproduce this problem by guessing at a table declaration and some data, but (unsurprisingly) did not see any problem. Please submit a more complete report. regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]