Hello,
I am working on a meta-programming use-case where I need to scrape some detailed information about the results of a
functioncall that "RETURNS TABLE (LIKE physical_table)". Unfortunately RowDescription messages don't contain nearly
enoughinformation (no nullability). In pg_type the pg_proc.prorettype of this function shows up as a composite type
witha valid typrelid. I am interested in getting this typrelid in the RowDescription field table OID field and the
respectiveattribute number field. This would allow me to figure out all the necessary information by looking up in
pg_attribute.
If this is something that might be accepted, I would be willing to work on a patch to implement this change.
Thank you,
Maxwell.