Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 29a5422

Browse files
committed
reset buffer upon walreceiver reconnect
1 parent a9d665a commit 29a5422

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pglogical_receiver.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -705,6 +705,7 @@ pglogical_receiver_main(Datum main_arg)
705705
continue;
706706

707707
OnError:
708+
ByteBufferReset(&buf);
708709
PQfinish(conn);
709710
MtmReleaseRecoverySlot(nodeId);
710711
MtmSleep(RECEIVER_SUSPEND_TIMEOUT);

0 commit comments

Comments
 (0)