pgsql: Make the errcontext message in logical replication worker transl

From: Amit Kapila <akapila(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Make the errcontext message in logical replication worker transl
Date: 2022-03-07 03:27:35
Message-ID: E1nR423-001HH4-31@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2022-03-07 07:31:45 pgsql: Add pg_analyze_and_rewrite_varparams()
Previous Message Michael Paquier 2022-03-07 01:27:02 pgsql: Create routine able to set single-call SRFs for Materialize mode