summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/databases/postgres.py
diff options
context:
space:
mode:
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 1ce10dd4c..887c593e1 100644
--- a/lib/sqlalchemy/databases/postgres.py
+++ b/lib/sqlalchemy/databases/postgres.py
@@ -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: