diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2011-04-08 14:54:45 -0400 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2011-04-08 14:54:45 -0400 |
commit | ee542a109feba61cc34adc7927b74500894c9425 (patch) | |
tree | 3621adc2bd88f26a8b6faff65ee033db2be3beb0 /lib/sqlalchemy/dialects/postgresql/psycopg2.py | |
parent | a645032262afc41cd39a85c9f56388341346a995 (diff) | |
download | sqlalchemy-ee542a109feba61cc34adc7927b74500894c9425.tar.gz |
- assume in py3k that description encoding is None unless the dialect really
overrides it
- psycopg2 + 3k supports unicode statements...
Diffstat (limited to 'lib/sqlalchemy/dialects/postgresql/psycopg2.py')
-rw-r--r-- | lib/sqlalchemy/dialects/postgresql/psycopg2.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/sqlalchemy/dialects/postgresql/psycopg2.py b/lib/sqlalchemy/dialects/postgresql/psycopg2.py index 10d6e0269..f96dab9a4 100644 --- a/lib/sqlalchemy/dialects/postgresql/psycopg2.py +++ b/lib/sqlalchemy/dialects/postgresql/psycopg2.py @@ -221,7 +221,9 @@ class PGIdentifierPreparer_psycopg2(PGIdentifierPreparer): class PGDialect_psycopg2(PGDialect): driver = 'psycopg2' + # Py2K supports_unicode_statements = False + # end Py2K default_paramstyle = 'pyformat' supports_sane_multi_rowcount = False execution_ctx_cls = PGExecutionContext_psycopg2 |