Ivan <[EMAIL PROTECTED]> writes: > Suppose we have sql function which returns composite type. > When such function's last select statement doesn't return any row > error occurs - > ERROR: function returning row cannot return null value.
Works for me (tested in 7.4.5 and CVS tip). 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