Tom Lane wrote on 16.05.2013 19:36:
>> As the materialized view should be a "table" that can be selected from, I wonder what the purpose of the rewrite
ruleis?
>
> To store the matview's definition for use in REFRESH.
>
Ah, right. Makes sense.
Thanks for the quick reply.