Project

General

Profile

« Previous | Next » 

Revision 14321

schemas/util.sql: check_constraint_enabled(): made it IMMUTABLE

View differences:

trunk/schemas/util.sql
1085 1085
--
1086 1086

  
1087 1087
CREATE FUNCTION check_constraint_enabled(constraint_def check_constraint_def) RETURNS boolean
1088
    LANGUAGE sql STABLE
1088
    LANGUAGE sql IMMUTABLE
1089 1089
    AS $_X$
1090 1090
-- **WARNING**: whitespace in strings is significant
1091 1091
SELECT NOT /*disabled*/constraint_def.expr ~ $_$^

Also available in: Unified diff