]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- The extract() function, which was slightly improved in
authorMike Bayer <mike_mp@zzzcomputing.com>
Tue, 29 Dec 2009 02:35:42 +0000 (02:35 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Tue, 29 Dec 2009 02:35:42 +0000 (02:35 +0000)
commit4acf0f69f394c151b2e6c2d399632888cdef6fd9
tree0cb1b3f6b5c5dd9e1556ebb8fa7cee637b0cea85
parent839ca415919cd6d91450965fbf9d2659baf4a0b5
- The extract() function, which was slightly improved in
0.5.7, needed a lot more work to generate the correct
typecast (the typecasts appear to be necessary in PG's
EXTRACT quite a lot of the time).  The typecast is
now generated using a rule dictionary based
on PG's documentation for date/time/interval arithmetic.
It also accepts text() constructs again, which was broken
in 0.5.7. [ticket:1647]
CHANGES
lib/sqlalchemy/databases/postgres.py
lib/sqlalchemy/sql/util.py
lib/sqlalchemy/types.py
test/dialect/test_postgres.py