Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions sql.go
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,10 @@ WHERE c.relkind IN ( 'r', '' )
AND n.nspname !~ '^gp_toolkit'
AND c.relkind = 'r'
%s
UNION
SELECT foreign_table_schema as SCHEMA,
foreign_table_name as table
FROM information_schema.foreign_tables
ORDER BY 1
`
// add where clause
Expand Down