]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Refine domain nullable rules for PostgreSQL reflection
authorMike Bayer <mike_mp@zzzcomputing.com>
Tue, 30 Mar 2021 18:48:41 +0000 (14:48 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Tue, 30 Mar 2021 18:57:51 +0000 (14:57 -0400)
commite1ee44322c25c05064e7d10c870af8c4be2f718e
treef1a75199a42c55bc7fa5352f29420c4534e82705
parent77f338160111f53630001a9b63dbe88708370ded
Refine domain nullable rules for PostgreSQL reflection

Fixed issue in PostgreSQL reflection where a column expressing "NOT NULL"
will supersede the nullability of a corresponding domain.

Fixes #6161

Change-Id: I1a3de49afcdb952f71bd7a7cc7b264513c93eff5
(cherry picked from commit ab61d66dee9b3c3639907557852908858daacb6f)
doc/build/changelog/unreleased_13/6161.rst [new file with mode: 0644]
lib/sqlalchemy/dialects/postgresql/base.py
test/dialect/postgresql/test_reflection.py