diff options
author | Michael Trier <mtrier@gmail.com> | 2010-02-22 21:53:08 +0000 |
---|---|---|
committer | Michael Trier <mtrier@gmail.com> | 2010-02-22 21:53:08 +0000 |
commit | 91bca6b4701272257c714bb18b2b14d1264b2ca3 (patch) | |
tree | fab8fd41e9bbc25694a862ee5b26bfb146104544 /lib/sqlalchemy/dialects/postgresql/pypostgresql.py | |
parent | 4f00f200724815f953a6f8d0527c1c78015afe6f (diff) | |
download | sqlalchemy-91bca6b4701272257c714bb18b2b14d1264b2ca3.tar.gz |
The py-postgresql dialect now supports sane rowcounts.
Diffstat (limited to 'lib/sqlalchemy/dialects/postgresql/pypostgresql.py')
-rw-r--r-- | lib/sqlalchemy/dialects/postgresql/pypostgresql.py | 4 |
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 |