In the regression database:
regression=# select schema_to_xmlschema('public',false,false,'foo');ERROR: cache lookup failed for type 0
I have no idea what this function should produce, but surely not that?
regards, tom lane