Search code examples
postgresqlmaterialized-viewsforeign-data-wrapper

Materialized view on a foreign table with postgresql_fdw


Is it possible to use a materialized view on top of a foreign table with postgresql_fdw? (Postgres 9.3)

Currently thinking of some kind of "caching" for postgresql_fdw.


Solution

  • View can be updated by REFRESH MATERIALIZED VIEW. No real need for external triggering.