Revision 14185
Added by Aaron Marcuse-Kubitza over 10 years ago
util.sql | ||
---|---|---|
1598 | 1598 |
|
1599 | 1599 |
|
1600 | 1600 |
-- |
1601 |
-- Name: derived_col_constraints_enable(regclass); Type: FUNCTION; Schema: util; Owner: - |
|
1602 |
-- |
|
1603 |
|
|
1604 |
CREATE FUNCTION derived_col_constraints_enable(table_ regclass) RETURNS void |
|
1605 |
LANGUAGE sql |
|
1606 |
AS $$ |
|
1607 |
SELECT util.check_constraint_enable(derived_col_def.col::util.table_item) |
|
1608 |
FROM util.derived_col_defs(table_) derived_col_def |
|
1609 |
$$; |
|
1610 |
|
|
1611 |
|
|
1612 |
-- |
|
1601 | 1613 |
-- Name: derived_col_def(check_constraint_def); Type: FUNCTION; Schema: util; Owner: - |
1602 | 1614 |
-- |
1603 | 1615 |
|
Also available in: Unified diff
schemas/util.sql: added derived_col_constraints_enable()