Skip to content

Commit 2dbdebb

Browse files
committed
Avoid hanging on exit in pglogical_receiver
1 parent da2cd2f commit 2dbdebb

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

contrib/mmts/pglogical_receiver.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -252,6 +252,9 @@ pglogical_receiver_main(Datum main_arg)
252252
* Slots at other nodes should be removed
253253
*/
254254
mode = MtmGetReplicationMode(nodeId);
255+
if (mode == REPLMODE_UNKNOWN) {
256+
continue;
257+
}
255258
count = Mtm->recoveryCount;
256259

257260
/* Establish connection to remote server */

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