Don Y <[EMAIL PROTECTED]> writes: > Nearest I can tell, the problem is related to my attempt to > return an int "by value"
If that's what you intend, try cluing in CREATE TYPE (see PASSEDBYVALUE). 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