Re: should postgres -C print units?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: should postgres -C print units?
Date: 2012-05-23 19:59:32
Message-ID: 10666.1337803172@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Peter Eisentraut <peter_e(at)gmx(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Kohei KaiGai 2012-05-23 20:04:50 Re: [RFC] Interface of Row Level Security
Previous Message Magnus Hagander 2012-05-23 19:52:55 Re: incorrect handling of the timeout in pg_receivexlog