diff options
| author | Tom Lane | 2024-04-23 15:52:40 +0000 |
|---|---|---|
| committer | Tom Lane | 2024-04-23 15:52:44 +0000 |
| commit | bb3ca232398658291d4b1eaae12cd6e88dfc96a3 (patch) | |
| tree | e3003c408fae5f92c02f3659a5d5d0ab516449d6 /src/test/regress | |
| parent | b29cbd3da4e37db17026b9fe58fb46fe83f467bf (diff) | |
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
Diffstat (limited to 'src/test/regress')
| -rw-r--r-- | src/test/regress/expected/guc.out | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/regress/expected/guc.out b/src/test/regress/expected/guc.out index 127c9532976..455b6d6c0ce 100644 --- a/src/test/regress/expected/guc.out +++ b/src/test/regress/expected/guc.out @@ -510,7 +510,7 @@ SELECT '2006-08-13 12:34:56'::timestamptz; SET seq_page_cost TO 'NaN'; ERROR: invalid value for parameter "seq_page_cost": "NaN" SET vacuum_cost_delay TO '10s'; -ERROR: 10000 ms is outside the valid range for parameter "vacuum_cost_delay" (0 .. 100) +ERROR: 10000 ms is outside the valid range for parameter "vacuum_cost_delay" (0 ms .. 100 ms) SET no_such_variable TO 42; ERROR: unrecognized configuration parameter "no_such_variable" -- Test "custom" GUCs created on the fly (which aren't really an |
