sraoss / pgsql-ivm

IVM (Incremental View Maintenance) development for PostgreSQL
Other
129 stars 12 forks source link

Allow TRUNCATE on base tables #143

Closed yugo-n closed 2 years ago

yugo-n commented 2 years ago

Allow TRUNCATE on base tables

If we don't have any outer-joins, the view can be truncated when a base table is truncated. Otherwise, if we have any outer-joins, a simple refresh is performed.

Issue #30