summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/databases/postgres.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2006-03-04 18:53:35 +0000
committerMike Bayer <mike_mp@zzzcomputing.com>2006-03-04 18:53:35 +0000
commit7ad8cc9420f796dfcafbc84dc06453fc3eb51abe (patch)
tree1be784c617d361f40e29d1b5ceb2b7ef5f8e1893 /lib/sqlalchemy/databases/postgres.py
parente9999c74e6d476685f5c0ca741d86be3ef5050a0 (diff)
downloadsqlalchemy-7ad8cc9420f796dfcafbc84dc06453fc3eb51abe.tar.gz
removed the dependency of ANSICompiler on SQLEngine. you can now make ANSICompilers and compile SQL with no engine at all.
Diffstat (limited to 'lib/sqlalchemy/databases/postgres.py')
-rw-r--r--lib/sqlalchemy/databases/postgres.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sqlalchemy/databases/postgres.py b/lib/sqlalchemy/databases/postgres.py
index 92407637f..592bac79c 100644
--- a/lib/sqlalchemy/databases/postgres.py
+++ b/lib/sqlalchemy/databases/postgres.py
@@ -210,7 +210,7 @@ class PGSQLEngine(ansisql.ANSISQLEngine):
return sqltypes.adapt_type(typeobj, pg1_colspecs)
def compiler(self, statement, bindparams, **kwargs):
- return PGCompiler(self, statement, bindparams, **kwargs)
+ return PGCompiler(statement, bindparams, engine=self, **kwargs)
def schemagenerator(self, **params):
return PGSchemaGenerator(self, **params)