Revision 14190
Added by Aaron Marcuse-Kubitza over 10 years ago
trunk/schemas/util.sql | ||
---|---|---|
1686 | 1686 |
|
1687 | 1687 |
|
1688 | 1688 |
-- |
1689 |
-- Name: derived_col_populated(col); Type: FUNCTION; Schema: util; Owner: - |
|
1690 |
-- |
|
1691 |
|
|
1692 |
CREATE FUNCTION derived_col_populated(col col) RETURNS boolean |
|
1693 |
LANGUAGE sql STABLE |
|
1694 |
AS $$ |
|
1695 |
SELECT util.check_constraint_enabled(col::util.table_item) |
|
1696 |
$$; |
|
1697 |
|
|
1698 |
|
|
1699 |
-- |
|
1689 | 1700 |
-- Name: derived_cols(regclass, regclass); Type: FUNCTION; Schema: util; Owner: - |
1690 | 1701 |
-- |
1691 | 1702 |
|
Also available in: Unified diff
schemas/util.sql: added derived_col_populated()