mirror of
https://github.com/postgres/postgres.git
synced 2025-08-30 06:01:21 +03:00
Revert "Display the time when the process started waiting for the lock, in pg_locks."
This reverts commit 3b733fcd04
.
Per buildfarm members prion and rorqual.
This commit is contained in:
@@ -3619,12 +3619,6 @@ GetLockStatusData(void)
|
||||
instance->leaderPid = proc->pid;
|
||||
instance->fastpath = true;
|
||||
|
||||
/*
|
||||
* Successfully taking fast path lock means there were no
|
||||
* conflicting locks.
|
||||
*/
|
||||
instance->waitStart = 0;
|
||||
|
||||
el++;
|
||||
}
|
||||
|
||||
@@ -3652,7 +3646,6 @@ GetLockStatusData(void)
|
||||
instance->pid = proc->pid;
|
||||
instance->leaderPid = proc->pid;
|
||||
instance->fastpath = true;
|
||||
instance->waitStart = 0;
|
||||
|
||||
el++;
|
||||
}
|
||||
@@ -3705,7 +3698,6 @@ GetLockStatusData(void)
|
||||
instance->pid = proc->pid;
|
||||
instance->leaderPid = proclock->groupLeader->pid;
|
||||
instance->fastpath = false;
|
||||
instance->waitStart = (TimestampTz) pg_atomic_read_u64(&proc->waitStart);
|
||||
|
||||
el++;
|
||||
}
|
||||
|
Reference in New Issue
Block a user