summaryrefslogtreecommitdiff
path: root/doc/build
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2013-12-17 15:38:35 -0500
committerMike Bayer <mike_mp@zzzcomputing.com>2013-12-17 15:38:35 -0500
commit80b6591dbea86f87cc845c67ea11c1449ee75eee (patch)
tree4f49591d79138718c02b733f24d565a75de339b7 /doc/build
parentd98fcca0b3441e09c3d56ad69c93b41f9b240f0f (diff)
downloadsqlalchemy-80b6591dbea86f87cc845c67ea11c1449ee75eee.tar.gz
- The :func:`.cast` function, when given a plain literal value,
will now apply the given type to the given literal value on the bind parameter side according to the type given to the cast. This essentially replaces what would normally be the detected type of the literal value. This only takes effect if the auto-detected type of the literal value is either "nulltype" (e.g. couldn't detect) or a type that is of the same "affinity" as the cast type. The net change here is that the :func:`.cast` function includes more of the functionality already present in the :func:`.type_coerce` function.
Diffstat (limited to 'doc/build')
-rw-r--r--doc/build/changelog/changelog_09.rst14
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/build/changelog/changelog_09.rst b/doc/build/changelog/changelog_09.rst
index 2cfa424e8..cbcd10fff 100644
--- a/doc/build/changelog/changelog_09.rst
+++ b/doc/build/changelog/changelog_09.rst
@@ -15,6 +15,20 @@
:version: 0.9.0b2
.. change::
+ :tags: bug, sql
+
+ The :func:`.cast` function, when given a plain literal value,
+ will now apply the given type to the given literal value on the
+ bind parameter side according
+ to the type given to the cast. This essentially replaces what would
+ normally be the detected type of the literal value. This only
+ takes effect if the auto-detected type of the literal value is either
+ "nulltype" (e.g. couldn't detect)
+ or a type that is of the same "affinity" as the cast type.
+ The net change here is that the :func:`.cast` function includes more
+ of the functionality already present in the :func:`.type_coerce` function.
+
+ .. change::
:tags: bug, postgresql
Now using psycopg2 UNICODEARRAY extension for handling unicode arrays