Sergej Sergeev <sergej(at)commandprompt(dot)com> writes:
>> What happens if you feed other pseudotypes, like cstring or
>> language_handler? Shouldn't that be disallowed or something?
> Other pseudo-types are disallowed (no-change)
No, because you diked out the check at lines 1452ff, rather than
upgrading it to something correct.
I find the "fn_retispseudo" and "arg_is_p" flags pretty bogus anyway
since they fail to indicate *which* pseudotype it is. You might as
well just test for the specific type OID.
regards, tom lane