Skip to content

Commit 6766596

Browse files
knizhnikkelvich
authored andcommitted
Push responses to WAL sender
1 parent 8b9f412 commit 6766596

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pglogical_receiver.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -569,7 +569,7 @@ pglogical_receiver_main(Datum main_arg)
569569
timeoutptr = &timeout;
570570

571571
r = select(PQsocket(conn) + 1, &input_mask, NULL, NULL, timeoutptr);
572-
if (r <= 0 && errno == EINTR)
572+
if (r == 0 || (r < 0 && errno == EINTR))
573573
{
574574
/*
575575
* Got a timeout or signal. Continue the loop and either

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