Re: GUC time unit spelling a bit inconsistent

From: Brian Hurt <bhurt(at)janestcapital(dot)com>
To:
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: GUC time unit spelling a bit inconsistent
Date: 2007-06-21 12:48:25
Message-ID: 467A7399.4010201@janestcapital.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Peter Eisentraut wrote:

>Am Donnerstag, 21. Juni 2007 00:38 schrieb Gregory Stark:
>
>
>>>I think people are worried that an 'm' in one column might mean something
>>>different than an 'm' in another column, and perhaps that is confusing.
>>>
>>>
>>To whom? the person writing it?
>>
>>
>
>If everyone around here had gotten their way we'd already be in a situation
>were you could write
>
>log_rotation_age = 5m
>log_rotation_size = 5m
>
>

Would it be a bad idea to always support the multi-character
abbreviations? So the min, sec, hr, day, wk, mth, yr ar all, to my
knowledge, unambiguous. As are kb, mb, gb, tb. So the above would be:
log_rotation_age = 5min
log_rotation_size = 5mb
edinburgh_distance=5mi

Brian

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Gregory Stark 2007-06-21 12:50:58 Re: GUC time unit spelling a bit inconsistent
Previous Message Peter Eisentraut 2007-06-21 12:38:53 Re: GUC time unit spelling a bit inconsistent