Re: GUC time unit spelling a bit inconsistent - Mailing list pgsql-hackers

From Tom Lane
Subject Re: GUC time unit spelling a bit inconsistent
Date
Msg-id 11744.1182186214@sss.pgh.pa.us
Whole thread Raw
In response to Re: GUC time unit spelling a bit inconsistent  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: GUC time unit spelling a bit inconsistent  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-hackers
Peter Eisentraut <peter_e@gmx.net> writes:
> Am Montag, 18. Juni 2007 16:16 schrieb Tom Lane:
>> It seems that time-based GUC variables can be spelled like
>>         1h      but not         1hr
>>         1min    but not         1m
>>         1s      but not         1sec

> The left columns are the standard units.

Standard according to whom?  In time-related contexts (eg ISO 8601)
I'd expect just "h" "m" and "s".

Since there's no likelihood that anyone would think autovacuum_naptime
is measured in meters, I think insisting that it must not be written as
"1m" is just pedantry.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Tsearch vs Snowball, or what's a source file?
Next
From: Jim Nasby
Date:
Subject: Re: Bugtraq: Having Fun With PostgreSQL