]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
postgres reflection uses dialect-wide preparer
authorMike Bayer <mike_mp@zzzcomputing.com>
Mon, 21 Aug 2006 03:51:48 +0000 (03:51 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Mon, 21 Aug 2006 03:51:48 +0000 (03:51 +0000)
lib/sqlalchemy/databases/postgres.py

index 1ce10dd4c670cff6eb233e857f4bb060eed3b5c3..887c593e160e88f122990621cafd2fab0ceca03a 100644 (file)
@@ -307,7 +307,7 @@ class PGDialect(ansisql.ANSIDialect):
         if self.use_information_schema:
             ischema.reflecttable(connection, table, ischema_names)
         else:
-            preparer = self.preparer()
+            preparer = self.identifier_preparer
             if table.schema is not None:
                 current_schema = table.schema
             else: