[EMAIL PROTECTED] writes: > The real problem starts here: when i use the function as > select rational_out(rational_type) from testtable; > it works fine and returns a cstring. But when i execute > select rational_type from testtable; > then it dies with the error i mentioned before. Why is it happeneing?
Because your code is broken ;-). But when you haven't shown us any of the code, it's impossible to guess how. regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]