diff options
Diffstat (limited to 'lib/sqlalchemy/dialects/postgresql')
| -rw-r--r-- | lib/sqlalchemy/dialects/postgresql/base.py | 10 | ||||
| -rw-r--r-- | lib/sqlalchemy/dialects/postgresql/pypostgresql.py | 2 |
2 files changed, 6 insertions, 6 deletions
diff --git a/lib/sqlalchemy/dialects/postgresql/base.py b/lib/sqlalchemy/dialects/postgresql/base.py index c4c2bbdb4..e87c0426e 100644 --- a/lib/sqlalchemy/dialects/postgresql/base.py +++ b/lib/sqlalchemy/dialects/postgresql/base.py @@ -1040,7 +1040,7 @@ class PGDialect(default.DefaultDialect): if is_prepared: if recover: #FIXME: ugly hack to get out of transaction - # context when commiting recoverable transactions + # context when committing recoverable transactions # Must find out a way how to make the dbapi not # open a transaction. connection.execute("ROLLBACK") @@ -1625,8 +1625,8 @@ class PGDialect(default.DefaultDialect): for enum in c.fetchall(): if enum['visible']: # 'visible' just means whether or not the enum is in a - # schema that's on the search path -- or not overriden by - # a schema with higher presedence. If it's not visible, + # schema that's on the search path -- or not overridden by + # a schema with higher precedence. If it's not visible, # it will be prefixed with the schema-name when it's used. name = enum['name'] else: @@ -1665,8 +1665,8 @@ class PGDialect(default.DefaultDialect): attype = re.search('([^\(]+)', domain['attype']).group(1) if domain['visible']: # 'visible' just means whether or not the domain is in a - # schema that's on the search path -- or not overriden by - # a schema with higher presedence. If it's not visible, + # schema that's on the search path -- or not overridden by + # a schema with higher precedence. If it's not visible, # it will be prefixed with the schema-name when it's used. name = domain['name'] else: diff --git a/lib/sqlalchemy/dialects/postgresql/pypostgresql.py b/lib/sqlalchemy/dialects/postgresql/pypostgresql.py index e902c684e..14ede40a5 100644 --- a/lib/sqlalchemy/dialects/postgresql/pypostgresql.py +++ b/lib/sqlalchemy/dialects/postgresql/pypostgresql.py @@ -40,7 +40,7 @@ class PGDialect_pypostgresql(PGDialect): default_paramstyle = 'pyformat' # requires trunk version to support sane rowcounts - # TODO: use dbapi version information to set this flag appropariately + # TODO: use dbapi version information to set this flag appropriately supports_sane_rowcount = True supports_sane_multi_rowcount = False |
