Revision 14153
Added by Aaron Marcuse-Kubitza over 10 years ago
trunk/schemas/util.sql | ||
---|---|---|
1510 | 1510 |
AS $_$ |
1511 | 1511 |
SELECT util.extract_str($$NOT $$||quote_ident( |
1512 | 1512 |
(check_constraint_def).constraint_.name)||$$ IS DISTINCT FROM $$, |
1513 |
'', check_constraint_def.expr)
|
|
1513 |
'', util.check_constraint_expr_enable(check_constraint_def.expr))
|
|
1514 | 1514 |
$_$; |
1515 | 1515 |
|
1516 | 1516 |
|
Also available in: Unified diff
schemas/util.sql: derived_col_expr_from_check_constraint(): enable initially-disabled exprs