Project

General

Profile

« Previous | Next » 

Revision 14192

schemas/util.sql: added derived_cols_populated()

View differences:

util.sql
1742 1742
CREATE FUNCTION derived_cols_populated(table_ regclass) RETURNS boolean
1743 1743
    LANGUAGE sql STABLE
1744 1744
    AS $$
1745
SELECT bool_or(util.derived_col_populated(derived_col_def.col))
1745
SELECT bool_and(util.derived_col_populated(derived_col_def.col))
1746 1746
FROM util.derived_col_defs(table_) derived_col_def
1747 1747
$$;
1748 1748

  

Also available in: Unified diff