Revision 14191
Added by Aaron Marcuse-Kubitza over 10 years ago
util.sql | ||
---|---|---|
1736 | 1736 |
|
1737 | 1737 |
|
1738 | 1738 |
-- |
1739 |
-- Name: derived_cols_populated(regclass); Type: FUNCTION; Schema: util; Owner: - |
|
1740 |
-- |
|
1741 |
|
|
1742 |
CREATE FUNCTION derived_cols_populated(table_ regclass) RETURNS boolean |
|
1743 |
LANGUAGE sql STABLE |
|
1744 |
AS $$ |
|
1745 |
SELECT bool_or(util.derived_col_populated(derived_col_def.col)) |
|
1746 |
FROM util.derived_col_defs(table_) derived_col_def |
|
1747 |
$$; |
|
1748 |
|
|
1749 |
|
|
1750 |
-- |
|
1739 | 1751 |
-- Name: derived_cols_sync(regclass); Type: FUNCTION; Schema: util; Owner: - |
1740 | 1752 |
-- |
1741 | 1753 |
|
Also available in: Unified diff
schemas/util.sql: added derived_cols_populated()