Revision 14206
Added by Aaron Marcuse-Kubitza over 10 years ago
trunk/schemas/util.sql | ||
---|---|---|
1018 | 1018 |
|
1019 | 1019 |
|
1020 | 1020 |
-- |
1021 |
-- Name: check_constraint_expr(table_item); Type: FUNCTION; Schema: util; Owner: - |
|
1022 |
-- |
|
1023 |
|
|
1024 |
CREATE FUNCTION check_constraint_expr(constraint_ table_item) RETURNS text |
|
1025 |
LANGUAGE sql STABLE |
|
1026 |
AS $$ |
|
1027 |
SELECT (constraint_::util.check_constraint_def).expr |
|
1028 |
$$; |
|
1029 |
|
|
1030 |
|
|
1031 |
-- |
|
1021 | 1032 |
-- Name: check_constraint_expr_disable(text); Type: FUNCTION; Schema: util; Owner: - |
1022 | 1033 |
-- |
1023 | 1034 |
|
Also available in: Unified diff
schemas/util.sql: added check_constraint_expr(constraint_ table_item)