Use schema qualification while accessing the catalog objects.

refs #3976
This commit is contained in:
Rahul Shirsat
2021-03-12 11:17:25 +05:30
committed by Akshay Joshi
parent d6ee715d83
commit 9d8360641f
122 changed files with 324 additions and 314 deletions

View File

@@ -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: