diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2022-06-10 12:42:54 -0400 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2022-06-10 13:21:26 -0400 |
commit | 4274981156a554fb4b8340d2fa4d8c4afed7c86c (patch) | |
tree | 5c20a6f9102f2a75e6d5c799e0ec9ec3ba9e784c /lib/sqlalchemy/dialects/postgresql | |
parent | b171f5d2e488c46a664847644e65d5dc03759840 (diff) | |
download | sqlalchemy-4274981156a554fb4b8340d2fa4d8c4afed7c86c.tar.gz |
honor enum length in all cases
The :paramref:`.Enum.length` parameter, which sets the length of the
``VARCHAR`` column for non-native enumeration types, is now used
unconditionally when emitting DDL for the ``VARCHAR`` datatype, including
when the :paramref:`.Enum.native_enum` parameter is set to ``True`` for
target backends that continue to use ``VARCHAR``. Previously the parameter
would be erroneously ignored in this case. The warning previously emitted
for this case is now removed.
Fixes: #7791
Change-Id: I91764546b56e9416479949be8a118cdc91ac5ed9
Diffstat (limited to 'lib/sqlalchemy/dialects/postgresql')
0 files changed, 0 insertions, 0 deletions