From 05ac6bcc0e2f7557f26a05e171be956c651f443a Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Mon, 2 Mar 2015 19:27:21 -0500 Subject: - changelog and migration notes for new pg8000 features from pullreq github:132 --- doc/build/changelog/changelog_10.rst | 16 ++++++++++++++++ doc/build/changelog/migration_10.rst | 14 ++++++++++++++ 2 files changed, 30 insertions(+) diff --git a/doc/build/changelog/changelog_10.rst b/doc/build/changelog/changelog_10.rst index e1c22c019..694c780fb 100644 --- a/doc/build/changelog/changelog_10.rst +++ b/doc/build/changelog/changelog_10.rst @@ -23,6 +23,22 @@ series as well. For changes that are specific to 1.0 with an emphasis on compatibility concerns, see :doc:`/changelog/migration_10`. + .. change:: + :tags: feature, postgresql + :pullreq: github:132 + + The PG8000 dialect now supports the + :paramref:`.create_engine.encoding` parameter, by setting up + the client encoding on the connection which is then intercepted + by pg8000. Pull request courtesy Tony Locke. + + .. change:: + :tags: feature, postgresql + :pullreq: github:132 + + Added support for PG8000's native JSONB feature. Pull request + courtesy Tony Locke. + .. change:: :tags: change, orm diff --git a/doc/build/changelog/migration_10.rst b/doc/build/changelog/migration_10.rst index 7783c90c0..80bff1bbf 100644 --- a/doc/build/changelog/migration_10.rst +++ b/doc/build/changelog/migration_10.rst @@ -1852,6 +1852,20 @@ by Postgresql as of 9.4. SQLAlchemy allows this using :class:`.FunctionFilter` +PG8000 dialect supports client side encoding +--------------------------------------------- + +The :paramref:`.create_engine.encoding` parameter is now honored +by the pg8000 dialect, using on connect handler which +emits ``SET CLIENT_ENCODING`` matching the selected encoding. + +PG8000 native JSONB support +-------------------------------------- + +Support for PG8000 versions greater than 1.10.1 has been added, where +JSONB is supported natively. + + Support for psycopg2cffi Dialect on Pypy ---------------------------------------- -- cgit v1.2.1