]> 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:53:27 +0000 (23:53 -0400)
commitd875f677a3f9c20d49d2569ae6f25beab6ce5f8e
treef07528c58da807abd96baeb4eeb9b36ef8e58bcc
parent1c23741b8e045d266d0ecbed975952547444a5fa
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]
doc/build/changelog/changelog_08.rst
doc/build/changelog/changelog_09.rst
lib/sqlalchemy/dialects/postgresql/base.py
test/dialect/postgresql/test_compiler.py
test/dialect/postgresql/test_query.py