]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- [bug] Postgresql dialect memoizes that an ENUM of a
authorMike Bayer <mike_mp@zzzcomputing.com>
Sat, 29 Oct 2011 21:38:56 +0000 (17:38 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sat, 29 Oct 2011 21:38:56 +0000 (17:38 -0400)
commite6a5ea8fa7d10078c8d3f1bf6cabc4399cac3e70
tree316f3c5287a1389d214437dadb9c2dca0560410f
parent5d6376fbd5ca4103a26118a6fffd1e95be0d5161
- [bug] Postgresql dialect memoizes that an ENUM of a
particular name was processed
during a create/drop sequence.  This allows
a create/drop sequence to work without any
calls to "checkfirst", and also means with
"checkfirst" turned on it only needs to
check for the ENUM once.  [ticket:2311]
CHANGES
lib/sqlalchemy/dialects/postgresql/base.py
lib/sqlalchemy/engine/ddl.py
lib/sqlalchemy/events.py
lib/sqlalchemy/types.py
test/dialect/test_postgresql.py
test/lib/engines.py
test/sql/test_types.py