Extra newlines added even if PQerrorMessage

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Extra newlines added even if PQerrorMessage
Дата
Msg-id 20180506235239.GA13286@paquier.xyz
обсуждение исходный текст
Список pgsql-hackers
Hi all,

2f52518 has removed a couple of extra newlines not needed as
PQerrorMessage is used, but some places have been missed:
- testlo64.c
- testlo.c
- findoidjoins.c
Those are not really critical, still I think that it would be good
practice to be consistent.

pgbench uses at one place CommandFailed() which appends automatically a
newline for the message passed by the caller, and calls one
PQerrorMessage.  Perhaps CommandFailed()'s callers should just define a
newline in the message?  Or it could be better to have a version of
pchomp for frontends?

Thanks,
--
Michael

Вложения

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

Предыдущее
От: Charles Cui
Дата:
Сообщение: Re: GSoC 2018: thrift encoding format
Следующее
От: Michael Paquier
Дата:
Сообщение: Refreshing findoidjoins for v11