Re: [PATCH] Cleanup of GUC units code - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: [PATCH] Cleanup of GUC units code
Date
Msg-id 48BD4489.6010306@gmx.net
Whole thread Raw
In response to Re: [PATCH] Cleanup of GUC units code  (Gregory Stark <stark@enterprisedb.com>)
Responses Re: [PATCH] Cleanup of GUC units code
Re: [PATCH] Cleanup of GUC units code
List pgsql-hackers
Gregory Stark wrote:
> Peter Eisentraut <peter_e@gmx.net> writes:
> 
>> Marko Kreen wrote:
>>> In the meantime, here is simple patch for case-insensivity.
>> You might be able to talk me into accepting various unambiguous, common
>> alternative spellings of various units.  But for instance allowing MB and Mb to
>> mean the same thing is insane.
> 
> Because you think some user will be trying to specify their shared_buffers in
> bits?

My concern is that this information does not stay in the configuration 
files.  It will invariably leak out into whitepapers, presentations, 
product documentation, and before long there will be confusion about why 
you can't stuff N Mb over an N Mb connection.  I am not making this up.

Mb does not add any typing ease (as "KB" might) or readability (as "sec"   might), and there is no respectable source
thatwill claim it is an 
 
acceptable alias for MB.



pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: WIP patch: Collation support
Next
From: "Marko Kreen"
Date:
Subject: Re: [PATCH] Cleanup of GUC units code