Richard Harvey Chapman <[EMAIL PROTECTED]> writes: > Question: Why isn't 12 printed after the second SELECT statement? NULL arguments/results for user functions are a longstanding problem (check the list archives). This is finally fixed in current sources for 7.1, but there's no good workaround in existing releases. regards, tom lane