Revision 14152
Added by Aaron Marcuse-Kubitza over 10 years ago
util.sql | ||
---|---|---|
886 | 886 |
|
887 | 887 |
|
888 | 888 |
-- |
889 |
-- Name: check_constraint_expr_enable(text); Type: FUNCTION; Schema: util; Owner: - |
|
890 |
-- |
|
891 |
|
|
892 |
CREATE FUNCTION check_constraint_expr_enable(expr text) RETURNS text |
|
893 |
LANGUAGE sql IMMUTABLE |
|
894 |
AS $_$ |
|
895 |
SELECT util.remove_prefix($$true OR $$, expr, require := false) |
|
896 |
$_$; |
|
897 |
|
|
898 |
|
|
899 |
-- |
|
889 | 900 |
-- Name: cluster(regclass, regclass); Type: FUNCTION; Schema: util; Owner: - |
890 | 901 |
-- |
891 | 902 |
|
Also available in: Unified diff
schemas/util.sql: added check_constraint_expr_enable()