I created materialized view in oracle and I used refresh force on demand option. Is there any possibility to adapt it to postgresql?
1 Answer
refresh force on demand is actually the only option that Postgres currently supports (there is no refresh next or refresh fast in Postgres)
So there is nothing you need to do, just create the mview:
create materialized view mv_stuff
as
select *
from foobar;
2 Comments
adolzi
Ok, but what if I added START WITH extra?
Changing the scope of the question after getting an answer is not the way this site works. You should state all relevant information in your quesiton. But
start with is not supported either. Please read the manual, it's all explained there: postgresql.org/docs/current/static/…