log message in proto.c

Поиск
Список
Период
Сортировка
От Fujii Masao
Тема log message in proto.c
Дата
Msg-id CAHGQGwGm-Vee=_Aa1dK9LNqr89seer+zJSmNtBzsZJ1QoHaN8A@mail.gmail.com
обсуждение исходный текст
Ответы Re: log message in proto.c  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
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

Вложения

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Amit Kapila
Дата:
Сообщение: Re: abort-time portal cleanup
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: PostgreSQL12 and older versions of OpenSSL