From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Improve "out of range" error messages for GUCs.
Date: Tue, 23 Apr 2024 15:53:03 +0000
Message-ID: <E1rzIS6-003WZN-QG@gemulon.postgresql.org> (raw)
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(-)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-committers@postgresql.org
Cc: tgl@sss.pgh.pa.us, pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Improve "out of range" error messages for GUCs.
In-Reply-To: <E1rzIS6-003WZN-QG@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox