@@ -275,7 +275,7 @@ pglogical_receiver_main(Datum main_arg)
275
275
PQclear (res );
276
276
ereport (ERROR , (errmsg ("%s: Could not create logical slot" ,
277
277
worker_proc )));
278
- MtmOnNodeDisconnect (nodeId );
278
+ /* MtmOnNodeDisconnect(nodeId); */
279
279
proc_exit (1 );
280
280
}
281
281
}
@@ -317,7 +317,7 @@ pglogical_receiver_main(Datum main_arg)
317
317
PQclear (res );
318
318
ereport (WARNING , (errmsg ("%s: Could not start logical replication" ,
319
319
worker_proc )));
320
- MtmOnNodeDisconnect (nodeId );
320
+ /* MtmOnNodeDisconnect(nodeId); */
321
321
proc_exit (1 );
322
322
}
323
323
PQclear (res );
@@ -408,7 +408,7 @@ pglogical_receiver_main(Datum main_arg)
408
408
{
409
409
ereport (LOG , (errmsg ("%s: streaming header too small: %d" ,
410
410
worker_proc , rc )));
411
- MtmOnNodeDisconnect (nodeId );
411
+ /* MtmOnNodeDisconnect(nodeId); */
412
412
proc_exit (1 );
413
413
}
414
414
replyRequested = copybuf [pos ];
@@ -429,7 +429,7 @@ pglogical_receiver_main(Datum main_arg)
429
429
430
430
/* Leave is feedback is not sent properly */
431
431
if (!sendFeedback (conn , now , nodeId )) {
432
- MtmOnNodeDisconnect (nodeId );
432
+ /* MtmOnNodeDisconnect(nodeId); */
433
433
proc_exit (1 );
434
434
}
435
435
}
@@ -439,7 +439,7 @@ pglogical_receiver_main(Datum main_arg)
439
439
{
440
440
ereport (LOG , (errmsg ("%s: Incorrect streaming header" ,
441
441
worker_proc )));
442
- MtmOnNodeDisconnect (nodeId );
442
+ /* MtmOnNodeDisconnect(nodeId); */
443
443
proc_exit (1 );
444
444
}
445
445
@@ -548,7 +548,7 @@ pglogical_receiver_main(Datum main_arg)
548
548
{
549
549
ereport (LOG , (errmsg ("%s: Incorrect status received... Leaving." ,
550
550
worker_proc )));
551
- MtmOnNodeDisconnect (nodeId );
551
+ /* MtmOnNodeDisconnect(nodeId); */
552
552
proc_exit (1 );
553
553
}
554
554
@@ -557,7 +557,7 @@ pglogical_receiver_main(Datum main_arg)
557
557
{
558
558
ereport (LOG , (errmsg ("%s: Data remaining on the socket... Leaving." ,
559
559
worker_proc )));
560
- MtmOnNodeDisconnect (nodeId );
560
+ /* MtmOnNodeDisconnect(nodeId); */
561
561
proc_exit (1 );
562
562
}
563
563
continue ;
@@ -576,7 +576,7 @@ pglogical_receiver_main(Datum main_arg)
576
576
{
577
577
ereport (LOG , (errmsg ("%s: Failure while receiving changes..." ,
578
578
worker_proc )));
579
- MtmOnNodeDisconnect (nodeId );
579
+ /* MtmOnNodeDisconnect(nodeId); */
580
580
proc_exit (1 );
581
581
}
582
582
}
0 commit comments