postgresql实例化视图增量刷新:
5.34lksdfns
CREATE OR REPLACE FUNCTION refresh_settledetailgroup_search()
RETURNS trigger AS
$BODY$
BEGIN
REFRESH MATERIALIZED VIEW settle_detailgroup_materialized_v;
RETURN NULL;
END $BODY$
LANGUAGE plpgsql VOLATILE
COST 100;