Skip to content

Commit 6373ccb

Browse files
Fenimorkindmpgpro
authored andcommitted
FIX testlatch
1 parent d9a22cb commit 6373ccb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend/commands/waitlsn.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ WaitLSNSetLatch(void)
133133
for (i = 0; i < (MaxConnections+1); i++)
134134
{
135135
SpinLockAcquire(&state->l_arr[i].slock);
136-
if (state->l_arr[i].pid != 0 && !(TestLatch(&state->l_arr[i].latch)))
136+
if (state->l_arr[i].pid != 0)
137137
{
138138
SetLatch(&state->l_arr[i].latch);
139139
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy