diff options
| author | Andres Freund | 2022-07-05 18:01:10 +0000 |
|---|---|---|
| committer | Andres Freund | 2022-07-05 18:01:10 +0000 |
| commit | 3f8148c256e067dc2e8929ed174671ba7dc3339c (patch) | |
| tree | 26d7ecf745164550eed9d462cc56955545ff9c18 /src/include | |
| parent | b9eb0ff09eb843566645679c3ab65b3c9d12c08b (diff) | |
Revert 019_replslot_limit.pl related debugging aids.
This reverts most of 91c0570a791, f28bf667f60, fe0972ee5e6, afdeff10526. The
only thing left is the retry loop in 019_replslot_limit.pl that avoids
spurious failures by retrying a couple times.
We haven't seen any hard evidence that this is caused by anything but slow
process shutdown. We did not find any cases where walsenders did not vanish
after waiting for longer. Therefore there's no reason for this debugging code
to remain.
Discussion: https://postgr.es/m/20220530190155.47wr3x2prdwyciah@alap3.anarazel.de
Backpatch: 15-
Diffstat (limited to 'src/include')
| -rw-r--r-- | src/include/storage/lwlock.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/include/storage/lwlock.h b/src/include/storage/lwlock.h index e8c91139f8..52b32bda99 100644 --- a/src/include/storage/lwlock.h +++ b/src/include/storage/lwlock.h @@ -121,7 +121,6 @@ extern void LWLockReleaseClearVar(LWLock *lock, uint64 *valptr, uint64 val); extern void LWLockReleaseAll(void); extern bool LWLockHeldByMe(LWLock *lock); extern bool LWLockHeldByMeInMode(LWLock *lock, LWLockMode mode); -extern int LWLockHeldCount(void); extern bool LWLockWaitForVar(LWLock *lock, uint64 *valptr, uint64 oldval, uint64 *newval); extern void LWLockUpdateVar(LWLock *lock, uint64 *valptr, uint64 value); |
