Hi, src/backend/replication/logical/proto.c action = pq_getmsgbyte(in); if (action != 'N') elog(ERROR, "expected new tuple but got %d", action);
"%d" in the above message should be "%c" because the type of the variable "action" is char? There are other log messages that "%c" is used for such variable, in proto.c. Seems the above is only message that "%d" is used for such variable. Regards, -- Fujii Masao
improve-elog-message-in-proto.patch
Description: Binary data