1

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 1

1

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;
Sign up to request clarification or add additional context in comments.

2 Comments

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/…

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.