pgsql: Improve style of some replication-related error messages.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Improve style of some replication-related error messages.
Дата
Msg-id E1lRgXh-0003J1-8W@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Improve style of some replication-related error messages.

Put the remote end's error message into the primary error string,
instead of relegating it to errdetail().  Although this could end up
being awkward if the remote sends us a really long error message,
it seems more in keeping with our message style guidelines, and more
helpful in situations where the errdetail could get dropped.

Peter Smith

Discussion: https://postgr.es/m/CAHut+Ps-Qv2yQceCwobQDP0aJOkfDzRFrOaR6+2Op2K=WHGeWg@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/6197db5340b8154adce1c6d07f6d3325547429c1

Modified Files
--------------
src/backend/commands/subscriptioncmds.c     | 13 +++++--------
src/backend/replication/logical/tablesync.c |  8 ++++----
2 files changed, 9 insertions(+), 12 deletions(-)


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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: pgsql: Fix some libpq_pipeline test problems
Следующее
От: Stephen Frost
Дата:
Сообщение: pgsql: Add a docs section for obsoleted and renamed functions and setti