Marko Karppinen <[EMAIL PROTECTED]> writes:

> Frank Wiles wrote:
> >   shared_buffers = 10000     ( shared_buffers in pages )
> >   shared_buffers = 100M      ( 100 MBs of shared_buffers )
> >   shared_buffers = 2048K     ( 2MBs of shared_buffers )
> 
> I don't know if this is pedantic or just obsessive-compulsive,
> but I think it should be MB and KB (or more properly, kB)
> instead of just M and K, to distinguish from kilopages
> or megapages.

Well, that's not how other tools handle it. I would suggest being consistent
with the rest of the more user friendly unix toolset that does this. GNU dd
for example uses these suffixes:

> BLOCKS and BYTES may be followed by the following multiplicative suffixes:
> xM M, c 1, w 2, b 512, kB 1000, K 1024, MB 1000*1000, M 1024*1024,
> GB 1000*1000*1000, G 1024*1024*1024, and so on for T, P, E, Z, Y.

(Though in this case the base unit is unambiguous because of the parameter.
But other examples are the output of ls -lh, the -c and -n parameters of head,
etc)

-- 
greg


---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
    (send "unregister YourEmailAddressHere" to [EMAIL PROTECTED])

Reply via email to