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.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/sqlalchemy/databases/postgres.py b/lib/sqlalchemy/databases/postgres.py
index b192c4778..697ca8d15 100644
--- a/lib/sqlalchemy/databases/postgres.py
+++ b/lib/sqlalchemy/databases/postgres.py
@@ -334,6 +334,9 @@ class PGDialect(ansisql.ANSIDialect):
return "losed the connection unexpectedly" in str(e)
else:
return False
+
+ def table_names(self, connection, schema):
+ return ischema.table_names(connection, schema)
def reflecttable(self, connection, table, include_columns):
if self.use_information_schema: