> > > Just a quick thought: the above can be replaced by InputFunctionCallSafe? >
Potentially, yes. The functions were originally returning the actual data types rather than the Datum serializations. Which way those functions go depends a lot on the data structure they end up populating, which is currently in flux.
