summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/dialects/postgresql/pypostgresql.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sqlalchemy/dialects/postgresql/pypostgresql.py')
-rw-r--r--lib/sqlalchemy/dialects/postgresql/pypostgresql.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/sqlalchemy/dialects/postgresql/pypostgresql.py b/lib/sqlalchemy/dialects/postgresql/pypostgresql.py
index 1e401579e..d5ee05f9f 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