MCPcopy Create free account
hub / github.com/pgadmin-org/pgadmin4 / locks

Function locks

web/pgadmin/dashboard/__init__.py:456–462  ·  view source on GitHub ↗

This function returns server lock information :param sid: server id :return:

(sid=None, did=None)

Source from the content-addressed store, hash-verified

454@pga_login_required
455@check_precondition
456def locks(sid=None, did=None):
457 """
458 This function returns server lock information
459 :param sid: server id
460 :return:
461 """
462 return get_data(sid, did, 'locks.sql')
463
464
465@blueprint.route('/prepared/', endpoint='prepared')

Callers

nothing calls this directly

Calls 1

get_dataFunction · 0.70

Tested by

no test coverage detected