"CHRIS HOOVER" <[EMAIL PROTECTED]> writes: > SQL_Str is defined as a varchar. Neither of the raise calls have done > anything, but I don't get any errors either.
The only way RAISE EXCEPTION "isn't going to do anything" is if control doesn't get to it. My bet would be that you are invoking some other function than you think you are --- we've seen examples of that sort of mistake recently. Check for multiple functions with same name and different argument types. regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 9: the planner will ignore your desire to choose an index scan if your joining column's datatypes do not match