aboutsummaryrefslogtreecommitdiff
path: root/src/tutorial
diff options
context:
space:
mode:
authorFujii Masao <fujii@postgresql.org>2021-07-28 01:20:16 +0900
committerFujii Masao <fujii@postgresql.org>2021-07-28 01:21:35 +0900
commitfd90f6ba7a75f51d14dac27219bb3755b893e251 (patch)
treeaab29a84800ac912788b41484778725407fda7f9 /src/tutorial
parent5a353a2d43eeab7554a6986b04b0a9d98ad55c92 (diff)
downloadpostgresql-fd90f6ba7a75f51d14dac27219bb3755b893e251.tar.gz
postgresql-fd90f6ba7a75f51d14dac27219bb3755b893e251.zip
Avoid using ambiguous word "non-negative" in error messages.
The error messages using the word "non-negative" are confusing because it's ambiguous about whether it accepts zero or not. This commit improves those error messages by replacing it with less ambiguous word like "greater than zero" or "greater than or equal to zero". Also this commit added the note about the word "non-negative" to the error message style guide, to help writing the new error messages. When postgres_fdw option fetch_size was set to zero, previously the error message "fetch_size requires a non-negative integer value" was reported. This error message was outright buggy. Therefore back-patch to all supported versions where such buggy error message could be thrown. Reported-by: Hou Zhijie Author: Bharath Rupireddy Reviewed-by: Kyotaro Horiguchi, Fujii Masao Discussion: https://postgr.es/m/OS0PR01MB5716415335A06B489F1B3A8194569@OS0PR01MB5716.jpnprd01.prod.outlook.com
Diffstat (limited to 'src/tutorial')
0 files changed, 0 insertions, 0 deletions