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
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ JOIN pg_class AS tableinfo
JOIN pg_namespace AS schemainfo
ON schemainfo.oid = tableinfo.relnamespace
WHERE schemainfo.nspname = ANY ( $1 )
AND contype NOT IN ('p', 'u', 'f')
AND contype IN ('c', 'x')
ORDER BY namespace, table_name, constr.contype, constraint_name;