MCPcopy Index your code
hub / github.com/pgadmin-org/pgadmin4 / get_search_path

Function get_search_path

web/pgadmin/tools/debugger/__init__.py:776–787  ·  view source on GitHub ↗
(conn)

Source from the content-addressed store, hash-verified

774
775
776def get_search_path(conn):
777 status, res = get_extension_details(conn, PLDBG_EXTN)
778 if not status:
779 return False, internal_server_error(errormsg=res)
780
781 status, res = conn.execute_scalar(
782 "SELECT current_setting('search_path')||',{0}'".format(res['schema']))
783
784 if not status:
785 return False, internal_server_error(errormsg=res)
786
787 return True, res
788
789
790def filter_params_by_default(params_list, default_value_str):

Callers 1

initialize_targetFunction · 0.85

Calls 3

get_extension_detailsFunction · 0.90
internal_server_errorFunction · 0.90
execute_scalarMethod · 0.45

Tested by

no test coverage detected