mirror of https://github.com/citusdata/citus.git
14 lines
403 B
PL/PgSQL
14 lines
403 B
PL/PgSQL
-- citus--7.0-13--7.0-14.sql
|
|
|
|
SET search_path = 'pg_catalog';
|
|
|
|
CREATE OR REPLACE FUNCTION check_distributed_deadlocks()
|
|
RETURNS BOOL
|
|
LANGUAGE 'c' STRICT
|
|
AS $$MODULE_PATHNAME$$, $$check_distributed_deadlocks$$;
|
|
COMMENT ON FUNCTION check_distributed_deadlocks()
|
|
IS 'does a distributed deadlock check, if a deadlock found cancels one of the participating backends and returns true ';
|
|
|
|
RESET search_path;
|
|
|