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+ej9wiee9d9vw5lppzylnl...@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(-)

Reply via email to