MV refresh only when master tables changes - Mailing list pgsql-admin

From Firthouse banu
Subject MV refresh only when master tables changes
Date
Msg-id CAK_Ha4xias8sJw49p75fgiJsvBRdy2ZL4P7g=wqYbQLWj5E4Zg@mail.gmail.com
Whole thread Raw
List pgsql-admin
Hello everyone,

In oracle we have user table sys.all_mviews which will have columns like staleness and compile_state which shows us whether data in MV is in sync with master tables or not and we can refresh MV if compile_state is not valid or staleness is not fresh or unknown . Is there any same way to do refresh of MV in Postgres without having triggers on master tables or scheduling refresh for every 2 hours or so. Please pour your suggestions. 

Thanks

pgsql-admin by date:

Previous
From: "David G. Johnston"
Date:
Subject: Re: Synthetic keys and index fillfactor
Next
From: kaido vaikla
Date:
Subject: Meaning of "pg_control version number:"