mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Use schema qualification while accessing the catalog objects. Fixes #3976
This commit is contained in:
committed by
Akshay Joshi
parent
8cf7c41ad9
commit
a2be30d257
@@ -609,8 +609,8 @@ def fetch_pg_types(columns_info, trans_obj):
|
||||
|
||||
if oids:
|
||||
status, res = default_conn.execute_dict(
|
||||
"SELECT oid, format_type(oid, NULL) AS typname FROM pg_type "
|
||||
"WHERE oid IN %s ORDER BY oid;", [tuple(oids)]
|
||||
"SELECT oid, pg_catalog.format_type(oid, NULL) AS typname FROM "
|
||||
"pg_catalog.pg_type WHERE oid IN %s ORDER BY oid;", [tuple(oids)]
|
||||
)
|
||||
|
||||
if not status:
|
||||
|
||||
Reference in New Issue
Block a user