From: Michael Trier Date: Mon, 22 Feb 2010 21:53:08 +0000 (+0000) Subject: The py-postgresql dialect now supports sane rowcounts. X-Git-Tag: rel_0_6beta2~152 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=91bca6b4701272257c714bb18b2b14d1264b2ca3;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git The py-postgresql dialect now supports sane rowcounts. --- diff --git a/lib/sqlalchemy/dialects/postgresql/pypostgresql.py b/lib/sqlalchemy/dialects/postgresql/pypostgresql.py index 1e401579e0..d5ee05f9f5 100644 --- a/lib/sqlalchemy/dialects/postgresql/pypostgresql.py +++ b/lib/sqlalchemy/dialects/postgresql/pypostgresql.py @@ -37,7 +37,9 @@ class PostgreSQL_pypostgresql(PGDialect): default_paramstyle = 'format' - supports_sane_rowcount = False # alas....posting a bug now + # requires trunk version to support sane rowcounts + # TODO: use dbapi version information to set this flag appropariately + supports_sane_rowcount = True supports_sane_multi_rowcount = False