Fixed an issue where the dependents tab wasn't working for PG 15. #5455
changes after reviewpull/5480/head
parent
bf62b9ccb7
commit
ad871694cc
|
@ -10,7 +10,7 @@ ORDER BY 1, 2
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if fetch_dependents %}
|
{% 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
|
COALESCE(ci.relname, cl.relname) as relname, cl.relname as indname
|
||||||
FROM pg_catalog.pg_class cl
|
FROM pg_catalog.pg_class cl
|
||||||
JOIN pg_catalog.pg_namespace cln ON cl.relnamespace=cln.oid
|
JOIN pg_catalog.pg_namespace cln ON cl.relnamespace=cln.oid
|
||||||
|
|
Loading…
Reference in New Issue