Skip to content

Commit 5491b1d

Browse files
committed
Fix WaitLSN patch for windows compatibility
1 parent c657bc6 commit 5491b1d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/backend/commands/waitlsn.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ void
110110
WaitLSNShmemInit(void)
111111
{
112112
bool found;
113-
uint i;
113+
uint32 i;
114114

115115
state = (GlobState *) ShmemInitStruct("pg_wait_lsn",
116116
GetSHMEMSize(),
@@ -129,7 +129,7 @@ WaitLSNShmemInit(void)
129129
void
130130
WaitLSNSetLatch(void)
131131
{
132-
uint i;
132+
uint32 i;
133133
for (i = 0; i < (MaxConnections+1); i++)
134134
{
135135
SpinLockAcquire(&state->l_arr[i].slock);

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