]> 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:49:46 +0000 (14:49 -0400)
commitab61d66dee9b3c3639907557852908858daacb6f
tree1c884eb2d0372372bc9146f42bedddb4cacdccde
parent57aac308cea2bdb5b1a15f05bf8ad479f66611d9
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
doc/build/changelog/unreleased_13/6161.rst [new file with mode: 0644]
lib/sqlalchemy/dialects/postgresql/base.py
test/dialect/postgresql/test_reflection.py