pgsql: Make the errcontext message in logical replication worker transl - Mailing list pgsql-committers

From Amit Kapila
Subject pgsql: Make the errcontext message in logical replication worker transl
Date
Msg-id E1nR423-001HH4-31@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Make the errcontext message in logical replication worker translation friendly.

Previously, the message for logical replication worker errcontext is
incrementally built, which was not translation friendly.  Instead, we use
complete sentences with if-else branches.

We also remove the commit timestamp from the context message since it's
not important information and made the message long.

Author: Masahiko Sawada
Reviewed-by: Takamichi Osumi, and Amit Kapila
Discussion: https://postgr.es/m/CAD21AoBarBf2oTF71ig2g_o=3Z_Dt6_sOpMQma1kFgbnA5OZ_w@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/5e0e99a80b2f41c8e9ed0f4071892d9e797a12be

Modified Files
--------------
src/backend/replication/logical/worker.c | 73 +++++++++++++++-----------------
1 file changed, 33 insertions(+), 40 deletions(-)


pgsql-committers by date:

Previous
From: Michael Paquier
Date:
Subject: pgsql: Create routine able to set single-call SRFs for Materialize mode
Next
From: Peter Eisentraut
Date:
Subject: pgsql: Add pg_analyze_and_rewrite_varparams()