]> 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:11:18 +0000 (20:11 -0500)
commit200e70b9745f1f344be4a35bb8f2b5f01b40d467
tree4b93ebd04ea1f9f68b4575646b88acfa70ce3666
parent3fc6c40ea77c971d3067dab0fdf57a5b5313b69b
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
doc/build/changelog/unreleased_14/8748.rst [new file with mode: 0644]
lib/sqlalchemy/dialects/postgresql/base.py
test/dialect/postgresql/test_reflection.py