]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- added native INTERVAL type to the dialect. This supports
authorMike Bayer <mike_mp@zzzcomputing.com>
Mon, 18 Jan 2010 03:00:05 +0000 (03:00 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Mon, 18 Jan 2010 03:00:05 +0000 (03:00 +0000)
commit9680e6483f4a811e147dd75bf3f5ccab989f01e0
tree55d13b9a50e139561b127cde18e57fc85fb3db82
parente9076d04b0ec82a403a885be7999eab7d346923b
- added native INTERVAL type to the dialect.  This supports
  only the DAY TO SECOND interval type so far due to lack
  of support in cx_oracle for YEAR TO MONTH. [ticket:1467]
- The Interval type includes a "native" flag which controls
  if native INTERVAL types (postgresql + oracle) are selected
  if available, or not.  "day_precision" and "second_precision"
  arguments are also added which propagate as appropriately
  to these native types. Related to [ticket:1467].
- DefaultDialect.type_descriptor moves back to being per-dialect.
  TypeEngine/TypeDecorator key type impls to the dialect class
  + server_version_info so that the colspecs dict can be modified
  per-dialect based on server version.
- Fixed TypeDecorator's incorrect usage of _impl_dict
CHANGES
lib/sqlalchemy/dialects/oracle/__init__.py
lib/sqlalchemy/dialects/oracle/base.py
lib/sqlalchemy/dialects/oracle/cx_oracle.py
lib/sqlalchemy/dialects/postgresql/base.py
lib/sqlalchemy/engine/default.py
lib/sqlalchemy/types.py
lib/sqlalchemy/util.py
test/dialect/test_oracle.py
test/sql/test_types.py