diff options
| author | Simon Charette <charette.s@gmail.com> | 2023-08-02 20:47:49 -0400 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2023-08-04 10:14:03 +0200 |
| commit | 3434dbd39d373df7193ad006b970c09c1a909ea3 (patch) | |
| tree | 1c6efadb6c261581a6df74898b563742083e4e8f /docs/_theme | |
| parent | 2b582387d51c44fa928351ca55f05fc8b8d2986e (diff) | |
Fixed #34754 -- Fixed JSONField check constraints validation on NULL values.
The __isnull lookup of JSONField must special case
Value(None, JSONField()) left-hand-side in order to be coherent with
its convoluted null handling.
Since psycopg>=3 offers no way to pass a NULL::jsonb the issue is
resolved by optimizing IsNull(Value(None), True | False) to
True | False.
Regression in 5c23d9f0c32f166c81ecb6f3f01d5077a6084318.
Thanks Alexandre Collet for the report.
Diffstat (limited to 'docs/_theme')
0 files changed, 0 insertions, 0 deletions
