]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Improve PG reflection compat.
authorFederico Caselli <cfederico87@gmail.com>
Thu, 25 May 2023 22:17:40 +0000 (00:17 +0200)
committerFederico Caselli <cfederico87@gmail.com>
Thu, 25 May 2023 22:17:40 +0000 (00:17 +0200)
commit0ea59dcf455052c1f307cfbfa18b0ddb4cc95cd0
tree343ee1a087be6be1c54bf3da86ab02e3512abd92
parent2dced78f33010d4a6a6276f4e8c5665bd08d01c0
Improve PG reflection compat.

Cast ``NAME`` columns to ``TEXT`` when using ``ARRAY_AGG`` in PostgreSQL
reflection. This seems to improve compatibility with some PostgreSQL
derivatives that may not support aggregations on the ``NAME`` type.

Fixes: #9838
Change-Id: I88e12f7b6aad6cf123961d169f90e29760e953a8
doc/build/changelog/unreleased_20/9838.rst [new file with mode: 0644]
lib/sqlalchemy/dialects/postgresql/base.py