pgsql: Fix error message in check_partition_bounds_for_split_range()

2024-04-30 Thread Alexander Korotkov
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 Horiguch

pgsql: Fix ERROR message in injection_point.c

2024-01-22 Thread Michael Paquier
Fix ERROR message in injection_point.c This commit fixes an error message that failed to show the correct function and library names when a function cannot be loaded. While on it, adjust the call to load_external_function() so as this ERROR can be reached, by making load_external_function() retur

pgsql: Fix error message wordings

2023-05-17 Thread Peter Eisentraut
Fix error message wordings The original patch for percentrepl.c c96de2ce17 adopted the error messages from basebackup_to_shell, but that uses terminology that doesn't really fit with the new API naming. Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/009bd237bf6db64

pgsql: Fix error message.

2020-07-23 Thread Thomas Munro
Fix error message. Remove extra space. Back-patch to all releases, like commit 7897e3bb. Author: Lu, Chenyang Discussion: https://postgr.es/m/795d03c6129844d3803e7eea48f5af0d%40G08CNEXMBPEKD04.g08.fujitsu.local Branch -- REL9_5_STABLE Details --- https://git.postgresql.org/pg/commitd

pgsql: Fix error message.

2020-07-23 Thread Thomas Munro
Fix error message. Remove extra space. Back-patch to all releases, like commit 7897e3bb. Author: Lu, Chenyang Discussion: https://postgr.es/m/795d03c6129844d3803e7eea48f5af0d%40G08CNEXMBPEKD04.g08.fujitsu.local Branch -- REL_10_STABLE Details --- https://git.postgresql.org/pg/commitd

pgsql: Fix error message.

2020-07-23 Thread Thomas Munro
Fix error message. Remove extra space. Back-patch to all releases, like commit 7897e3bb. Author: Lu, Chenyang Discussion: https://postgr.es/m/795d03c6129844d3803e7eea48f5af0d%40G08CNEXMBPEKD04.g08.fujitsu.local Branch -- REL9_6_STABLE Details --- https://git.postgresql.org/pg/commitd

pgsql: Fix error message.

2020-07-23 Thread Thomas Munro
Fix error message. Remove extra space. Back-patch to all releases, like commit 7897e3bb. Author: Lu, Chenyang Discussion: https://postgr.es/m/795d03c6129844d3803e7eea48f5af0d%40G08CNEXMBPEKD04.g08.fujitsu.local Branch -- REL_11_STABLE Details --- https://git.postgresql.org/pg/commitd

pgsql: Fix error message.

2020-07-23 Thread Thomas Munro
Fix error message. Remove extra space. Back-patch to all releases, like commit 7897e3bb. Author: Lu, Chenyang Discussion: https://postgr.es/m/795d03c6129844d3803e7eea48f5af0d%40G08CNEXMBPEKD04.g08.fujitsu.local Branch -- REL_12_STABLE Details --- https://git.postgresql.org/pg/commitd

pgsql: Fix error message.

2020-07-23 Thread Thomas Munro
Fix error message. Remove extra space. Back-patch to all releases, like commit 7897e3bb. Author: Lu, Chenyang Discussion: https://postgr.es/m/795d03c6129844d3803e7eea48f5af0d%40G08CNEXMBPEKD04.g08.fujitsu.local Branch -- REL_13_STABLE Details --- https://git.postgresql.org/pg/commitd

pgsql: Fix error message.

2020-07-23 Thread Thomas Munro
Fix error message. Remove extra space. Back-patch to all releases, like commit 7897e3bb. Author: Lu, Chenyang Discussion: https://postgr.es/m/795d03c6129844d3803e7eea48f5af0d%40G08CNEXMBPEKD04.g08.fujitsu.local Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/42d

pgsql: Fix error message in pg_verify_checksums

2019-03-18 Thread Michael Paquier
Fix error message in pg_verify_checksums 5864d24 has introduced a new error message, and I somewhat managed to fail adapting the back-patched version correctly with the tool name. Branch -- REL_11_STABLE Details --- https://git.postgresql.org/pg/commitdiff/31eb62d55ed97f9879f0bc0df2ba5c0

pgsql: Fix error message for logical replication targets

2019-01-13 Thread Michael Paquier
Fix error message for logical replication targets This fixes an oversight from 373bda6. Noted by Erik Rijkers. Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/9f527a6e9a70ea668616e20d05c31d7a086669a4 Modified Files -- src/backend/executor/execReplicati

pgsql: Fix error message typo introduced 691d79a07933.

2018-11-01 Thread Andres Freund
Fix error message typo introduced 691d79a07933. Reported-By: Michael Paquier Discussion: https://postgr.es/m/20181101003405.gb1...@paquier.xyz Backpatch: 9.4-, like the previous commit Branch -- REL9_4_STABLE Details --- https://git.postgresql.org/pg/commitdiff/b0fa768c61b329b72e882b7923

pgsql: Fix error message typo introduced 691d79a07933.

2018-11-01 Thread Andres Freund
Fix error message typo introduced 691d79a07933. Reported-By: Michael Paquier Discussion: https://postgr.es/m/20181101003405.gb1...@paquier.xyz Backpatch: 9.4-, like the previous commit Branch -- REL9_5_STABLE Details --- https://git.postgresql.org/pg/commitdiff/d554e333e548c6f8eb033c2ae9

pgsql: Fix error message typo introduced 691d79a07933.

2018-11-01 Thread Andres Freund
Fix error message typo introduced 691d79a07933. Reported-By: Michael Paquier Discussion: https://postgr.es/m/20181101003405.gb1...@paquier.xyz Backpatch: 9.4-, like the previous commit Branch -- REL_10_STABLE Details --- https://git.postgresql.org/pg/commitdiff/877b00561eea4118a15d8125ee

pgsql: Fix error message typo introduced 691d79a07933.

2018-11-01 Thread Andres Freund
Fix error message typo introduced 691d79a07933. Reported-By: Michael Paquier Discussion: https://postgr.es/m/20181101003405.gb1...@paquier.xyz Backpatch: 9.4-, like the previous commit Branch -- REL9_6_STABLE Details --- https://git.postgresql.org/pg/commitdiff/87f76f1324b21f3871e24028c6

pgsql: Fix error message typo introduced 691d79a07933.

2018-11-01 Thread Andres Freund
Fix error message typo introduced 691d79a07933. Reported-By: Michael Paquier Discussion: https://postgr.es/m/20181101003405.gb1...@paquier.xyz Backpatch: 9.4-, like the previous commit Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/8a99f8a82775cee3fd35abb21a29b5b2d

pgsql: Fix error message typo introduced 691d79a07933.

2018-11-01 Thread Andres Freund
Fix error message typo introduced 691d79a07933. Reported-By: Michael Paquier Discussion: https://postgr.es/m/20181101003405.gb1...@paquier.xyz Backpatch: 9.4-, like the previous commit Branch -- REL_11_STABLE Details --- https://git.postgresql.org/pg/commitdiff/0446551fc114aff1b820a006d5

pgsql: Fix error message when a hostaddr cannot be parsed.

2018-07-19 Thread Heikki Linnakangas
Fix error message when a hostaddr cannot be parsed. We were incorrectly passing hostname, not hostaddr, in the error message, and because of that, you got: $ psql 'hostaddr=foo' psql: could not parse network address "(null)": Name or service not known Backpatch to v10, where this was broken (by

pgsql: Fix error message when a hostaddr cannot be parsed.

2018-07-19 Thread Heikki Linnakangas
Fix error message when a hostaddr cannot be parsed. We were incorrectly passing hostname, not hostaddr, in the error message, and because of that, you got: $ psql 'hostaddr=foo' psql: could not parse network address "(null)": Name or service not known Backpatch to v10, where this was broken (by

pgsql: Fix error message when a hostaddr cannot be parsed.

2018-07-19 Thread Heikki Linnakangas
Fix error message when a hostaddr cannot be parsed. We were incorrectly passing hostname, not hostaddr, in the error message, and because of that, you got: $ psql 'hostaddr=foo' psql: could not parse network address "(null)": Name or service not known Backpatch to v10, where this was broken (by

pgsql: Fix error message on short read of pg_control

2018-05-18 Thread Magnus Hagander
Fix error message on short read of pg_control Instead of saying "error: success", indicate that we got a working read but it was too short. Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/cfb758b6d9c1df58fb1dfd5d3f6e70393fb17869 Modified Files -- src/ba

pgsql: Fix error message on short read of pg_control

2018-05-18 Thread Magnus Hagander
Fix error message on short read of pg_control Instead of saying "error: success", indicate that we got a working read but it was too short. Branch -- REL9_4_STABLE Details --- https://git.postgresql.org/pg/commitdiff/b5f096d50bee5c20023ed05390fdc52aa44a1404 Modified Files --

pgsql: Fix error message on short read of pg_control

2018-05-18 Thread Magnus Hagander
Fix error message on short read of pg_control Instead of saying "error: success", indicate that we got a working read but it was too short. Branch -- REL9_3_STABLE Details --- https://git.postgresql.org/pg/commitdiff/048caa5560da33d63bbcbb2063c8ecd48994c99b Modified Files --

pgsql: Fix error message on short read of pg_control

2018-05-18 Thread Magnus Hagander
Fix error message on short read of pg_control Instead of saying "error: success", indicate that we got a working read but it was too short. Branch -- REL9_5_STABLE Details --- https://git.postgresql.org/pg/commitdiff/714d8e5fa1b21a1113d6cd444af5cbc9d67d566f Modified Files --

pgsql: Fix error message on short read of pg_control

2018-05-18 Thread Magnus Hagander
Fix error message on short read of pg_control Instead of saying "error: success", indicate that we got a working read but it was too short. Branch -- REL_10_STABLE Details --- https://git.postgresql.org/pg/commitdiff/29ce50091d128faaabd0a4044e91a7d0da11bb8e Modified Files --

pgsql: Fix error message on short read of pg_control

2018-05-18 Thread Magnus Hagander
Fix error message on short read of pg_control Instead of saying "error: success", indicate that we got a working read but it was too short. Branch -- REL9_6_STABLE Details --- https://git.postgresql.org/pg/commitdiff/830e8e3609d003e320b963a7fa7c1432e10d8766 Modified Files --