Re: Patch for units in postgresql.conf

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
Cc: pgsql-patches(at)postgresql(dot)org
Subject: Re: Patch for units in postgresql.conf
Date: 2006-07-25 13:44:09
Message-ID: 200607251544.09902.peter_e@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

Am Dienstag, 25. Juli 2006 15:12 schrieb Alvaro Herrera:
> Does this mean that one must match the "kB" exactly, with the specified
> upper and lower case?

I think it's better to require exact spelling of the units, or else it'll
quickly get inconsistent and error-prone. (Say, if you want to allow "KB",
why not "mB"? And "kb" is clearly a kilobit, so we don't want to allow that
in any case.)

--
Peter Eisentraut
http://developer.postgresql.org/~petere/

In response to

Browse pgsql-patches by date

  From Date Subject
Next Message William ZHANG 2006-07-25 14:33:28 Patch for VS.Net 2005's strxfrm() bug
Previous Message Alvaro Herrera 2006-07-25 13:12:50 Re: Patch for units in postgresql.conf