libpq error message refactoring

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема libpq error message refactoring
Дата
Msg-id 7c0232ef-7b44-68db-599d-b327d0640a77@enterprisedb.com
обсуждение исходный текст
Ответы Re: libpq error message refactoring  (Andres Freund <andres@anarazel.de>)
Re: libpq error message refactoring  (Peter Eisentraut <peter.eisentraut@enterprisedb.com>)
Список pgsql-hackers
libpq now contains a mix of error message strings that end with newlines 
and don't end with newlines, due to some newer code paths with new ways 
of passing errors around.  This has now gotten me confused a few too 
many times both during development and translation.  So I looked into 
whether we can unify this, similar to how we have done elsewhere (e.g., 
pg_upgrade).  I came up with the attached patch.  It's not complete, but 
it shows the idea and it looks like a nice simplification to me. 
Thoughts on this approach?
Вложения

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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: Letter case of "admin option"
Следующее
От: Robert Haas
Дата:
Сообщение: Re: pg_basebackup: add test about zstd compress option