Re: GUC time unit spelling a bit inconsistent

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Gregory Stark <stark(at)enterprisedb(dot)com>
Cc: "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 15:03:17
Message-ID: 200706211703.18592.peter_e@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Am Donnerstag, 21. Juni 2007 00:10 schrieb Gregory Stark:
> Afaict nobody has expressed a single downside to accepting other
> abbreviations.

The two downsides I can see are that it would confuse users (even if it
apparently wouldn't confuse *you*), and that there is a chance that the
configuration system would work differently from other PostgreSQL components
or parts. For example modules like earth distance or other astronomy,
physics, or geography modules might all have to create their own sets
of "clearly unambiguous" unit sets for themselves. Few or none of these
types of modules exist yet, of course. I would like to have a units-aware
data type that you can use for storing and computing with measurements, and I
would like to be able to use that same type for dealing with configuration
quantities.

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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Timasmith 2007-06-21 15:08:06 Re: to partition or not to partition that is the question
Previous Message Peter Eisentraut 2007-06-21 14:06:03 Re: GUC time unit spelling a bit inconsistent