Alvaro Nunes Melo <al_nunes@atua.com.br> writes:
> I noticed what i think is a weird behaviour with SRFs. When I use them
> in a SELECT clause, and the SRF returns no rows, the query returns no
> rows too, when I think it should return an a null column.
Why would you think that? The behavior is exactly right as-is.
regards, tom lane