Fix error message in check_partition_bounds_for_split_range()
authorAlexander Korotkov <akorotkov@postgresql.org>
Tue, 30 Apr 2024 08:55:03 +0000 (11:55 +0300)
committerAlexander Korotkov <akorotkov@postgresql.org>
Tue, 30 Apr 2024 09:00:39 +0000 (12:00 +0300)
commit96c7381c4ceee2ef7c0a7327beb71dec47cf855e
treed02d19962150874bfaafedc34c8a98ea0a0a984a
parentfcf80c5d5f0f3787e70fca8fd029d2e08a923f91
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
src/backend/partitioning/partbounds.c