pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alexander Korotkov <akorotkov@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Fix error message in check_partition_bounds_for_split_range()
Date: Tue, 30 Apr 2024 09:00:58 +0000
Message-ID: <E1s1jM9-000lFp-JK@gemulon.postgresql.org> (raw)

Fix error message in check_partition_bounds_for_split_range()

Currently, the error message is produced by a system of complex substitutions
making it quite untranslatable and hard to read.  This commit splits this into
4 plain error messages suitable for translation.

Reported-by: Kyotaro Horiguchi
Discussion: https://postgr.es/m/20240408.152402.1485994009160660141.horikyota.ntt%40gmail.com
Reviewed-by: Pavel Borisov

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/96c7381c4ceee2ef7c0a7327beb71dec47cf855e

Modified Files
--------------
src/backend/partitioning/partbounds.c | 70 ++++++++++++++++++++++++-----------
1 file changed, 49 insertions(+), 21 deletions(-)



view thread (3+ messages)

Message-ID: <E1s1jM9-000lFp-JK@gemulon.postgresql.org>
Permalink:  ../E1s1jM9-000lFp-JK@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1s1jM9-000lFp-JK@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: akorotkov@postgresql.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Fix error message in check_partition_bounds_for_split_range()
  In-Reply-To: <E1s1jM9-000lFp-JK@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox