Revision 14238
Added by Aaron Marcuse-Kubitza over 10 years ago
trunk/schemas/util.sql | ||
---|---|---|
1157 | 1157 |
) s) |
1158 | 1158 |
END |
1159 | 1159 |
FROM (SELECT |
1160 |
CASE WHEN canon THEN util.canon_sql(def.expr, (def).constraint_.table_)
|
|
1161 |
ELSE def.expr END AS expr
|
|
1160 |
CASE WHEN canon THEN util.check_constraint_canon_sql(def) ELSE def.expr END
|
|
1161 |
AS expr |
|
1162 | 1162 |
) s |
1163 | 1163 |
$_$; |
1164 | 1164 |
|
Also available in: Unified diff
bugfix: schemas/util.sql: check_constraint_replace(): need to use util.check_constraint_canon_sql() instead of util.canon_sql()