Обсуждение: pgsql: Improve style of some replication-related error messages.

Поиск
Список
Период
Сортировка

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

От
Tom Lane
Дата:
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(-)