Hi,
Here is a doc patch to add materialized views and foreign tables todatabase objects that pg_table_is_visible() can be used with.
Best regards,Etsuro Fujita