]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Fix reflection of long expressions in postgresql
authorFederico Caselli <cfederico87@gmail.com>
Fri, 7 Apr 2023 18:35:37 +0000 (20:35 +0200)
committerFederico Caselli <cfederico87@gmail.com>
Fri, 7 Apr 2023 18:36:45 +0000 (20:36 +0200)
commit7e285f2234010c241a357ae1d6d77a6fc43177bb
tree811cfaa6c830c1851566b0c06c30c0b59d50400f
parent9bbb70ffd559c1a9e085fb379a5be4b06da0cd7c
Fix reflection of long expressions in postgresql

Fixed issue that prevented reflection of expression based indexes
with long expressions in PostgreSQL. The expression where erroneously
truncated to the identifier length (that's 63 bytes by default).

Fixes: #9615
Change-Id: I50727b0699e08fa25f10f3c94dcf8b79534bfb75
doc/build/changelog/unreleased_20/9615.rst [new file with mode: 0644]
lib/sqlalchemy/dialects/postgresql/base.py
lib/sqlalchemy/testing/suite/test_reflection.py