Gregory Stark <stark@xxxxxxxxxxxxxxxx> writes: > You could fix that more cleanly with "ALTER FUNCTION myfunction ROWS 1" but > only if that's always true, not just for myfunction(3,5). Perhaps the function shouldn't be declared SETOF in the first place? regards, tom lane -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general