Closed penberg closed 1 year ago
You can now use materialized views on PostgreSQL side and replicate them. We're not extending the syntax, but instead the materialized view is managed on PostgreSQL side and there are additional extension SQL functions that wire up the replication.
The
CREATE MATERIALIZED VIEW
has aUSING method
andWITH (storage_parameter = [value]..
. options. If we require the materialized view to materialize on PostgreSQL side also and replicate the already computed views, that lets us hook into a nicer syntax.