[Sqlalchemy-commits] commit/sqlalchemy: 5 new changesets
Brought to you by:
zzzeek
From: Bitbucket <com...@bi...> - 2015-02-01 00:07:26
|
5 new commits in sqlalchemy: https://bitbucket.org/zzzeek/sqlalchemy/commits/e7d61d594b8a/ Changeset: e7d61d594b8a Branch: None User: Mateusz Susik Date: 2014-10-24 11:27:29+00:00 Summary: Psycopg2 JSONB support. Affected #: 1 file https://bitbucket.org/zzzeek/sqlalchemy/commits/a523163c4140/ Changeset: a523163c4140 Branch: None User: zzzeek Date: 2015-01-31 22:53:02+00:00 Summary: Merge remote-tracking branch 'origin/pr/145' into pr145 Affected #: 1 file https://bitbucket.org/zzzeek/sqlalchemy/commits/bf70f556b382/ Changeset: bf70f556b382 Branch: None User: zzzeek Date: 2015-02-01 00:04:54+00:00 Summary: - Added support for the :class:`postgresql.JSONB` datatype when using psycopg2 2.5.4 or greater, which features native conversion of JSONB data so that SQLAlchemy's converters must be disabled; additionally, the newly added psycopg2 extension ``extras.register_default_jsonb`` is used to establish a JSON deserializer passed to the dialect via the ``json_deserializer`` argument. Also repaired the Postgresql integration tests which weren't actually round-tripping the JSONB type as opposed to the JSON type. Pull request courtesy Mateusz Susik. - Repaired the use of the "array_oid" flag when registering the HSTORE type with older psycopg2 versions < 2.4.3, which does not support this flag, as well as use of the native json serializer hook "register_default_json" with user-defined ``json_deserializer`` on psycopg2 versions < 2.5, which does not include native json. Affected #: 5 files https://bitbucket.org/zzzeek/sqlalchemy/commits/9d8b0633cc6f/ Changeset: 9d8b0633cc6f Branch: None User: Mateusz Susik Date: 2015-02-01 00:05:55+00:00 Summary: Psycopg2 JSONB support. (cherry picked from commit e7d61d594b8a89535696436a667a526bd2999fb2) Affected #: 1 file https://bitbucket.org/zzzeek/sqlalchemy/commits/0bd74617f877/ Changeset: 0bd74617f877 Branch: rel_0_9 User: zzzeek Date: 2015-02-01 00:06:04+00:00 Summary: - Added support for the :class:`postgresql.JSONB` datatype when using psycopg2 2.5.4 or greater, which features native conversion of JSONB data so that SQLAlchemy's converters must be disabled; additionally, the newly added psycopg2 extension ``extras.register_default_jsonb`` is used to establish a JSON deserializer passed to the dialect via the ``json_deserializer`` argument. Also repaired the Postgresql integration tests which weren't actually round-tripping the JSONB type as opposed to the JSON type. Pull request courtesy Mateusz Susik. - Repaired the use of the "array_oid" flag when registering the HSTORE type with older psycopg2 versions < 2.4.3, which does not support this flag, as well as use of the native json serializer hook "register_default_json" with user-defined ``json_deserializer`` on psycopg2 versions < 2.5, which does not include native json. (cherry picked from commit bf70f556b382dc376783efbcb598e0fab71ee235) Affected #: 5 files Repository URL: https://bitbucket.org/zzzeek/sqlalchemy/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email. |