pgsql: Fix error message in check_partition_bounds_for_split_range()

From: Alexander Korotkov <akorotkov(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix error message in check_partition_bounds_for_split_range()
Date: 2024-04-30 09:00:58
Message-ID: E1s1jM9-000lFp-JK@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Alexander Korotkov 2024-04-30 09:14:22 pgsql: Stabilize regression tests introduced by 259c96fa8f
Previous Message Tom Lane 2024-04-30 05:26:59 Re: pgsql: Reject SSL connection if ALPN is used but there's no common prot