Re: log message in proto.c

2019-09-24 Thread Robert Haas
On Tue, Sep 24, 2019 at 5:41 AM Fujii Masao wrote: > 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"

log message in proto.c

2019-09-24 Thread Fujii Masao
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 s