Fixed an issue where the dependents tab wasn't working for PG 15. #5455

changes after review
pull/5480/head
Pravesh Sharma 2022-10-31 17:45:53 +05:30 committed by GitHub
parent bf62b9ccb7
commit ad871694cc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ ORDER BY 1, 2
{% endif %}
{% if fetch_dependents %}
SELECT cl.relkind, COALESCE(cin.nspname, cln.nspname) as nspname,
SELECT cl.relkind::text, COALESCE(cin.nspname, cln.nspname) as nspname,
COALESCE(ci.relname, cl.relname) as relname, cl.relname as indname
FROM pg_catalog.pg_class cl
JOIN pg_catalog.pg_namespace cln ON cl.relnamespace=cln.oid