summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorSimon Charette <simon.charette@zapier.com>2019-04-29 22:49:45 -0400
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2019-04-30 07:38:22 +0200
commita8b3f96f6acfa082f99166e0a1cfb4b0fbc0eace (patch)
tree730e05d8b4a11dec699684e14a382786472985c9 /docs
parent673fe2e3ec63614259e86e7a370b9d1e91fcc1e1 (diff)
Fixed #30408 -- Fixed crash when adding check constraints with LIKE operator on Oracle and PostgreSQL.
The LIKE operator wildcard generated for contains, startswith, endswith and their case-insensitive variant lookups was conflicting with parameter interpolation on CREATE constraint statement execution. Ideally we'd delegate parameters interpolation in DDL statements on backends that support it but that would require backward incompatible changes to the Index and Constraint SQL generating methods. Thanks David Sanders for the report.
Diffstat (limited to 'docs')
-rw-r--r--docs/releases/2.2.1.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/releases/2.2.1.txt b/docs/releases/2.2.1.txt
index 9f241b83e9..90c9a06e79 100644
--- a/docs/releases/2.2.1.txt
+++ b/docs/releases/2.2.1.txt
@@ -70,3 +70,7 @@ Bugfixes
* Fixed a regression in Django 2.2 where changes were not reliably detected by
auto-reloader when using ``StatReloader`` (:ticket:`30323`).
+
+* Fixed a migration crash on Oracle and PostgreSQL when adding a check
+ constraint with a ``contains``, ``startswith``, or ``endswith`` lookup (or
+ their case-insensitive variant) (:ticket:`30408`).