From 91bca6b4701272257c714bb18b2b14d1264b2ca3 Mon Sep 17 00:00:00 2001 From: Michael Trier Date: Mon, 22 Feb 2010 21:53:08 +0000 Subject: The py-postgresql dialect now supports sane rowcounts. --- lib/sqlalchemy/dialects/postgresql/pypostgresql.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'lib/sqlalchemy/dialects/postgresql/pypostgresql.py') 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 -- cgit v1.2.1