How to use trigger to monitor foreign table in postgres

normal table can be implemented in the following way, but the foreign table from mongo using fdw Synchronize is invalid. How to make materialized view update automatically when foreign table changes?

clipboard.png

Jun.29,2021
Menu