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

Commit 1a3330c

Browse files
committed
fix wrong parsing of logical messages header
1 parent b105b6b commit 1a3330c

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
@@ -533,7 +533,7 @@ pglogical_receiver_main(Datum main_arg)
533533
MtmSpillToFile(spill_file, buf.data, buf.used);
534534
ByteBufferReset(&buf);
535535
}
536-
if (stmt[0] == 'M' && (stmt[1] == 'L' || stmt[1] == 'C' || stmt[1] == 'A')) {
536+
if (stmt[0] == 'M' && (stmt[1] == 'L' || stmt[1] == 'A')) {
537537
MTM_LOG3("Process '%c' message from %d", stmt[1], nodeId);
538538
MtmExecutor(stmt, rc - hdr_len);
539539
} else {

0 commit comments

Comments
 (0)