Re: Memory unit GUC range checks - Mailing list pgsql-hackers

From Heikki Linnakangas
Subject Re: Memory unit GUC range checks
Date
Msg-id 1550e1f3-3fbd-ed3a-5043-38d9d247afb4@iki.fi
Whole thread Raw
In response to Re: Memory unit GUC range checks  (Alexander Korotkov <a.korotkov@postgrespro.ru>)
List pgsql-hackers
On 16/05/18 16:35, Alexander Korotkov wrote:
> I also think it would be nice to show units in the valid range.  I image
> that if I would see such message at the first time, then I would try to
> reverse-engineer units from input value representation in the error
> message.  Displaying units in the valid range would be clarifying for me.

Totally agreed. Users shouldn't need to know whether the base unit for a 
setting is bytes or kilobytes or megabytes. But that sounds like a 
feature rather than a bug, so, not now.

- Heikki


pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: log_min_messages shows debug instead of debug2
Next
From: Heikki Linnakangas
Date:
Subject: Re: An out-of-date comment in nodeIndexonlyscan.c