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

Commit 5ced064

Browse files
committed
Fix lock message format
1 parent 0ce22e9 commit 5ced064

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
@@ -524,7 +524,7 @@ pglogical_receiver_main(Datum main_arg)
524524
MtmSpillToFile(spill_file, buf.data, buf.used);
525525
ByteBufferReset(&buf);
526526
}
527-
if (stmt[0] == 'L') {
527+
if (stmt[0] == 'M' && stmt[1] == 'L') {
528528
MTM_LOG3("Process deadlock message from %d", nodeId);
529529
MtmExecutor(stmt, rc - hdr_len);
530530
} else {

0 commit comments

Comments
 (0)