Correct support for postgres materialized views