Skip to content

Commit

Permalink
Remove unuseful join
Browse files Browse the repository at this point in the history
  • Loading branch information
rodo committed Dec 18, 2024
1 parent 8b1524f commit 3a1872a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions sql/management.sql
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,7 @@ BEGIN
excluded AS (
SELECT c.oid
FROM pg_class c
JOIN @[email protected]_table_exclusion ste ON ste.table_name = c.relname
JOIN pg_namespace n ON (n.oid = c.relnamespace AND n.nspname = ste.schema_name)
JOIN @[email protected]_table_exclusion ste ON ste.table_name = c.relname)
),
internals AS (
SELECT oid FROM excluded
Expand Down

0 comments on commit 3a1872a

Please sign in to comment.