Skip to content

Commit

Permalink
Only check public table space
Browse files Browse the repository at this point in the history
  • Loading branch information
roa committed Aug 23, 2019
1 parent 3d18681 commit 69feb5a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/PostgresTools/Database.pm
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,7 @@ sub _get_tables_sql {
return qq(
SELECT table_name, table_schema
FROM information_schema.tables
WHERE table_schema != 'partitions'
AND table_schema != 'information_schema'
AND table_schema != 'pg_catalog'
WHERE table_schema = 'public'
AND table_type != 'FOREIGN TABLE'
ORDER BY table_schema, table_name;
);
Expand Down

0 comments on commit 69feb5a

Please sign in to comment.