Project

General

Profile

« Previous | Next » 

Revision 14152

schemas/util.sql: added check_constraint_expr_enable()

View differences:

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