pgsql: Fix error message in check_partition_bounds_for_split_range() - Mailing list pgsql-committers

From Alexander Korotkov
Subject pgsql: Fix error message in check_partition_bounds_for_split_range()
Date
Msg-id E1s1jM9-000lFp-JK@gemulon.postgresql.org
Whole thread Raw
List 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(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: Re: pgsql: Reject SSL connection if ALPN is used but there's no common prot
Next
From: Alexander Korotkov
Date:
Subject: pgsql: Stabilize regression tests introduced by 259c96fa8f