Re: GUC time unit spelling a bit inconsistent

From: "Marko Kreen" <markokr(at)gmail(dot)com>
To: "Michael Paesold" <mpaesold(at)gmx(dot)at>
Cc: "Peter Eisentraut" <peter_e(at)gmx(dot)net>, "Gregory Stark" <stark(at)enterprisedb(dot)com>, "Bruce Momjian" <bruce(at)momjian(dot)us>, "Simon Riggs" <simon(at)2ndquadrant(dot)com>, "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: GUC time unit spelling a bit inconsistent
Date: 2007-06-21 13:48:19
Message-ID: e51f66da0706210648g31b72c8cv11d4e7210639f6a6@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 6/21/07, Michael Paesold <mpaesold(at)gmx(dot)at> wrote:
> Marko Kreen wrote:
> > Considering Postgres will never user either "meter" or "mile"
> > in settings, I don't consider your argument valid.
> >
> > I don't see the value of having units globally unique (literally).
> > It's enough if they unique in the context of postgresql.conf.
> >
> > Thus +1 of having additional shortcuts Tom suggested.
> > Also +1 for having them case-insensitive.
>
> Agreed. Although I suggest perhaps to not press for "m" as minutes,
> because it really is ambiguous for "months" or "minutes", esp. in a
> context like "log_rotation_age".

IMHO, as postgresql.conf is not a scientific article to "Nature",
we can be more relaxed about this. Currently admin-friendlyness
should top scientific precision.

As "minute" is much more needed unit that "month" it should get
shorter abbrevation. If we _do_ have unit for months for
some reason, I would even suggest removing it to make "m"
unambigious.

--
marko

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paesold 2007-06-21 13:55:45 Re: GUC time unit spelling a bit inconsistent
Previous Message Michael Paesold 2007-06-21 13:30:36 Re: GUC time unit spelling a bit inconsistent