Project

General

Profile

« Previous | Next » 

Revision 14315

schemas/util.sql: derived_cols_populate(): use new derived_cols_repopulate()

View differences:

trunk/schemas/util.sql
2062 2062
    LANGUAGE sql
2063 2063
    AS $$
2064 2064
SELECT CASE WHEN NOT util.derived_cols_populated(table_)
2065
THEN
2066
(SELECT NULL::void FROM (SELECT
2067
-- populate derived columns by triggering table__fill_derived()
2068
util.run_triggers(table_)
2069
,
2070
util.derived_col_constraints_enable(table_)
2071
) s)
2072
END
2065
THEN util.derived_cols_repopulate(table_) END
2073 2066
$$;
2074 2067

  
2075 2068

  

Also available in: Unified diff