I think that we need to determine the level where the problem that should be fixed is:
Please look at the patch attached, that makes schema_get_xml_visible_tables(Oid nspid) isolated from changes in other namespaces.
pgsql-bugs by date:
Соглашаюсь с условиями обработки персональных данных