Skip to content
Open
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
5 changes: 4 additions & 1 deletion schemainspect/pg/sql/sequences.sql
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,10 @@ extension_objids as (
on c.oid = extension_objids.extension_objid

left join pg_depend d
on c.oid = d.objid and d.deptype in ('i', 'a')
on c.oid = d.objid
and d.deptype in ('i', 'a')
and d.classid = 'pg_class'::regclass
and d.refclassid = 'pg_class'::regclass

left join pg_class c_ref
on d.refobjid = c_ref.oid
Expand Down