Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 7cfeaa1

Browse files
committed
Stub deadlock detector implementation in global_snapshot.
1 parent 7f4e923 commit 7cfeaa1

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

src/backend/access/transam/global_snapshot.c

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -875,15 +875,12 @@ DtmLocalEnd(DtmCurrentTrans * x)
875875
}
876876

877877
/*
878-
* Now only timestapm based dealock detection is supported for pg_tsdtm.
879-
* Please adjust "deadlock_timeout" parameter in postresql.conf to avoid false
880-
* deadlock detection.
878+
* Not implemented here.
881879
*/
882880
bool
883881
DtmDetectGlobalDeadLock(PGPROC *proc)
884882
{
885-
elog(WARNING, "Global deadlock?");
886-
return true;
883+
return false;
887884
}
888885

889886
static size_t

0 commit comments

Comments
 (0)