]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
The behavior of :func:`.extract` has been simplified on the
authorMike Bayer <mike_mp@zzzcomputing.com>
Sat, 29 Jun 2013 03:53:27 +0000 (23:53 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sat, 29 Jun 2013 03:54:11 +0000 (23:54 -0400)
commit169c88c7a5bc1a6de9c6ec10539bb28708d3a2ce
treeb01c85e23e75220474cfb774a1a4a697e17d882f
parent7e8f1341fc490fb94869b6be502036c0c5c43f88
The behavior of :func:`.extract` has been simplified on the
Postgresql dialect to no longer inject a hardcoded ``::timestamp``
or similar cast into the given expression, as this interfered
with types such as timezone-aware datetimes, but also
does not appear to be at all necessary with modern versions
of psycopg2.  Also in 0.8.2.
[ticket:2740]

Conflicts:
doc/build/changelog/changelog_09.rst
doc/build/changelog/changelog_08.rst
lib/sqlalchemy/dialects/postgresql/base.py
test/dialect/postgresql/test_compiler.py
test/dialect/postgresql/test_query.py