Improve "out of range" error messages for GUCs.
Tom Lane <tgl@sss.pgh.pa.us>
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
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/utils/misc/guc.c | modified | +20 −10 |
| src/test/regress/expected/guc.out | modified | +1 −1 |
Discussion
- slightly misleading Error message in guc.c 5 messages · 2024-04-22 → 2024-04-23