summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/dialects/postgresql/pypostgresql.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2010-03-14 19:31:30 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2010-03-14 19:31:30 -0400
commit9b597425c9e66d1c3ceada5f4e1bb6014f6de2c8 (patch)
tree39261850f16da321262548cf79fafba0620dcd5a /lib/sqlalchemy/dialects/postgresql/pypostgresql.py
parent127c02747c519c8e487a01c55a1b407c7e00ede1 (diff)
downloadsqlalchemy-9b597425c9e66d1c3ceada5f4e1bb6014f6de2c8.tar.gz
- name all the "sub" dialect components <DB><component>_<dialectname>, [ticket:1738]
Diffstat (limited to 'lib/sqlalchemy/dialects/postgresql/pypostgresql.py')
-rw-r--r--lib/sqlalchemy/dialects/postgresql/pypostgresql.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/sqlalchemy/dialects/postgresql/pypostgresql.py b/lib/sqlalchemy/dialects/postgresql/pypostgresql.py
index 87582a6cd..2e7ea201c 100644
--- a/lib/sqlalchemy/dialects/postgresql/pypostgresql.py
+++ b/lib/sqlalchemy/dialects/postgresql/pypostgresql.py
@@ -24,10 +24,10 @@ class PGNumeric(sqltypes.Numeric):
else:
return processors.to_float
-class PostgreSQL_pypostgresqlExecutionContext(PGExecutionContext):
+class PGExecutionContext_pypostgresql(PGExecutionContext):
pass
-class PostgreSQL_pypostgresql(PGDialect):
+class PGDialect_pypostgresql(PGDialect):
driver = 'pypostgresql'
supports_unicode_statements = True
@@ -40,7 +40,7 @@ class PostgreSQL_pypostgresql(PGDialect):
supports_sane_rowcount = True
supports_sane_multi_rowcount = False
- execution_ctx_cls = PostgreSQL_pypostgresqlExecutionContext
+ execution_ctx_cls = PGExecutionContext_pypostgresql
colspecs = util.update_copy(
PGDialect.colspecs,
{
@@ -66,4 +66,4 @@ class PostgreSQL_pypostgresql(PGDialect):
def is_disconnect(self, e):
return "connection is closed" in str(e)
-dialect = PostgreSQL_pypostgresql
+dialect = PGDialect_pypostgresql