should postgres -C print units?

Started by Peter Eisentrautover 13 years ago2 messages
#1Peter Eisentraut
peter_e@gmx.net

The postgres -C option was added in 9.2.

$ postgres -D ... -C shared_buffers
4096

Shouldn't that use units? We use them everywhere else in user
interfaces.

#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: Peter Eisentraut (#1)
Re: should postgres -C print units?

Peter Eisentraut <peter_e@gmx.net> writes:

The postgres -C option was added in 9.2.
$ postgres -D ... -C shared_buffers
4096

Shouldn't that use units? We use them everywhere else in user
interfaces.

Hm. But AFAIR, that feature is not meant to support user interfaces,
it's for programs (such as configuration wizards). Adding a unit would
likely make it less program-friendly not more so.

regards, tom lane