Improve "out of range" error messages for GUCs.
If the GUC has a unit, label the minimum and maximum values
with the unit explicitly. Per suggestion from Jian He.
Discussion: https://postgr.es/m/CACJufxFJo6FyVg9W8yvNAxbjP+EJ9wieE9d9vw5LpPzyLnLLOQ@mail.gmail.com
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/bb3ca232398658291d4b1eaae12cd6e88dfc96a3
Modified Files
--------------
src/backend/utils/misc/guc.c | 30 ++++++++++++++++++++----------
src/test/regress/expected/guc.out | 2 +-
2 files changed, 21 insertions(+), 11 deletions(-)