Skip to content

Commit

Permalink
Add additional condition to query for external constraints
Browse files Browse the repository at this point in the history
  • Loading branch information
sualeh committed Jan 21, 2023
1 parent 2e2e4e4 commit 373ea77
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,4 @@ FROM
WHERE
NAMESPACES.NSPNAME NOT IN ('pg_catalog', 'information_schema')
AND NAMESPACES.NSPNAME !~ '^pg_toast'
AND TABLES.RELKIND IN ('r', 'v')

0 comments on commit 373ea77

Please sign in to comment.