]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
accommodate NULL format_type()
authorMike Bayer <mike_mp@zzzcomputing.com>
Thu, 17 Nov 2022 01:11:18 +0000 (20:11 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Thu, 17 Nov 2022 01:16:00 +0000 (20:16 -0500)
commitbf5061cb53d45482581e8f0a22c4f892ee53e639
tree64aa5b10b585c63467d9cd47bda684ae427fd5d2
parent9050bec33b8531c800e12d469b2613dbc909b895
accommodate NULL format_type()

Made an adjustment to how the PostgreSQL dialect considers column types
when it reflects columns from a table, to accommodate for alternative
backends which may return NULL from the PG ``format_type()`` function.

Fixes: #8748
Change-Id: I6178287aac567210a76afaa5805b825daa7fa4db
(cherry picked from commit 200e70b9745f1f344be4a35bb8f2b5f01b40d467)
doc/build/changelog/unreleased_14/8748.rst [new file with mode: 0644]
lib/sqlalchemy/dialects/postgresql/base.py
test/dialect/postgresql/test_reflection.py