"J. Greg Davidson" <jgd@xxxxxxxx> writes: > When PostgreSQL calls a C function I get all kinds of interesting > information in the > struct FunctionCallInfoData > and > struct FmgrInfo > (details at bottom). I was hoping to get the oid of the expected > return type somewhere, but I don't see it. Am I missing something? get_fn_expr_rettype() can get that for you in most circumstances. 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