diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2015-06-22 11:35:02 -0400 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2015-06-22 11:35:02 -0400 |
commit | 24f8ab2bc360c1e0837ce7c5392839f87b57e916 (patch) | |
tree | 528b14548b42725fc4ab6a03fbcd52d623bfdc3e /lib/sqlalchemy | |
parent | cfa296d9cd27c66a05eee4cdaeae85b59593f3ab (diff) | |
download | sqlalchemy-24f8ab2bc360c1e0837ce7c5392839f87b57e916.tar.gz |
- Re-fixed this issue first released in 1.0.5 to fix psycopg2cffi
JSONB support once again, as they suddenly
switched on unconditional decoding of JSONB types in version 2.7.1.
Version detection now specifies 2.7.1 as where we should expect
the DBAPI to do json encoding for us.
fixes #3439
Diffstat (limited to 'lib/sqlalchemy')
-rw-r--r-- | lib/sqlalchemy/dialects/postgresql/psycopg2cffi.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sqlalchemy/dialects/postgresql/psycopg2cffi.py b/lib/sqlalchemy/dialects/postgresql/psycopg2cffi.py index f0fe23df3..97f241d2e 100644 --- a/lib/sqlalchemy/dialects/postgresql/psycopg2cffi.py +++ b/lib/sqlalchemy/dialects/postgresql/psycopg2cffi.py @@ -37,7 +37,7 @@ class PGDialect_psycopg2cffi(PGDialect_psycopg2): FEATURE_VERSION_MAP = dict( native_json=(2, 4, 4), - native_jsonb=(99, 99, 99), + native_jsonb=(2, 7, 1), sane_multi_rowcount=(2, 4, 4), array_oid=(2, 4, 4), hstore_adapter=(2, 4, 4) |