]> git.ipfire.org Git - thirdparty/sqlalchemy/alembic.git/commit
Render ExcludeContraint Column as column, not plain string
authorMike Bayer <mike_mp@zzzcomputing.com>
Mon, 22 Jan 2018 19:40:23 +0000 (14:40 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Mon, 22 Jan 2018 20:08:57 +0000 (15:08 -0500)
commit70dfb13759d782d84aff94ae3a4ccb8f5d4fd4db
tree1f1887dc5b159418a03c01c261f1624fc5a79444
parentf5af1c0823199d0aca152c9885ace36c5829a36a
Render ExcludeContraint Column as column, not plain string

Fixed bug where autogenerate of :class:`.ExcludeConstraint`
would render a raw quoted name for a Column that has case-sensitive
characters, which when invoked as an inline member of the Table
would produce a stack trace that the quoted name is not found.
An incoming Column object is now rendered as ``sa.column('name')``.

Change-Id: Ic84fc0b0fbaa5816ece1944043cd01a653bfe4ce
Fixes: #478
alembic/ddl/postgresql.py
docs/build/unreleased/478.rst [new file with mode: 0644]
tests/test_postgresql.py