]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
restore empty list logic to ARRAY of ENUM parsing
authorMike Bayer <mike_mp@zzzcomputing.com>
Thu, 20 Jan 2022 20:01:47 +0000 (15:01 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Thu, 20 Jan 2022 20:04:31 +0000 (15:04 -0500)
commitdda5c43cab88daad02bc871cf40bf4984e94a031
tree86e3a5badb675598445df085cb5430dae499c882
parentc6b15e443e0cfc7a09eb24c37123a595fdb639ca
restore empty list logic to ARRAY of ENUM parsing

Fixed regression where the change in :ticket:`7148` to repair ENUM handling
in PostgreSQL broke the use case of an empty ARRAY of ENUM, preventing rows
that contained an empty array from being handled correctly when fetching
results.

Fixes: #7590
Change-Id: I43a35ef25281a6e0a26b698efebef6ba12a63e8c
doc/build/changelog/unreleased_14/7590.rst [new file with mode: 0644]
lib/sqlalchemy/dialects/postgresql/array.py
test/dialect/postgresql/test_types.py