Correct me if I'm wrong, but for an extension that defines composite types, there's currently no easy way to get a TupleDesc, even for its own types.
Something like TupleDesc get_extension_type_tupledesc(const char *extname, const char *typname) Here's a routine I've stolen borrowed from pramsey's code and have been using ever since. Could this be exposed in extension.h ? (probably without the version check)
v1-0001-First-implementation-for-get_extension_type_tuple.patch
Description: Binary data