Обсуждение: should postgres -C print units?

Поиск
Список
Период
Сортировка

should postgres -C print units?

От
Peter Eisentraut
Дата:
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.



Re: should postgres -C print units?

От
Tom Lane
Дата:
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