Joe Conway <mail@joeconway.com> writes:
>> Doesn't this duplicate get_func_rettype()?
> Yep -- I thought I had seen something that would do this, and I looked
> for such an animal for a while, but didn't guess close enough to the
> name to find it :(
You didn't know where to look. Simple system-catalog lookup utilities
of this ilk live in lsyscache.c.
regards, tom lane