]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
pg8000 now supports sane_multi_rowcount
authorTony Locke <tlocke@tlocke.org.uk>
Sat, 2 Aug 2014 15:19:46 +0000 (16:19 +0100)
committerTony Locke <tlocke@tlocke.org.uk>
Sat, 2 Aug 2014 15:19:46 +0000 (16:19 +0100)
From pg8000-1.9.14 sane_multi_rowcount is supported so this commit
updates the dialect accordingly.

lib/sqlalchemy/dialects/postgresql/pg8000.py

index 2793b048da6a80e546df1f9e0994c34dfeedaae8..909b41b8250e670b4f952be331af986dc4fbb84e 100644 (file)
@@ -119,7 +119,7 @@ class PGDialect_pg8000(PGDialect):
     supports_unicode_binds = True
 
     default_paramstyle = 'format'
-    supports_sane_multi_rowcount = False
+    supports_sane_multi_rowcount = True
     execution_ctx_cls = PGExecutionContext_pg8000
     statement_compiler = PGCompiler_pg8000
     preparer = PGIdentifierPreparer_pg8000