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.
refs #3976
This commit is contained in:
committed by
Akshay Joshi
parent
d6ee715d83
commit
9d8360641f
@@ -538,7 +538,7 @@ def check_debugger_enabled(conn, ret_status):
|
||||
"""
|
||||
msg = ''
|
||||
status_in, rid_tar = conn.execute_scalar(
|
||||
"SELECT count(*) FROM pg_proc WHERE "
|
||||
"SELECT count(*) FROM pg_catalog.pg_proc WHERE "
|
||||
"proname = 'pldbg_get_target_info'"
|
||||
)
|
||||
if not status_in:
|
||||
@@ -552,7 +552,7 @@ def check_debugger_enabled(conn, ret_status):
|
||||
# We also need to check to make sure that the debugger library is
|
||||
# also available.
|
||||
status_in, ret_oid = conn.execute_scalar(
|
||||
"SELECT count(*) FROM pg_proc WHERE "
|
||||
"SELECT count(*) FROM pg_catalog.pg_proc WHERE "
|
||||
"proname = 'plpgsql_oid_debug'"
|
||||
)
|
||||
if not status_in:
|
||||
|
||||
Reference in New Issue
Block a user