From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Peter Eisentraut <peter_e(at)gmx(dot)net> |
Cc: | Thomas Lockhart <lockhart(at)fourpalms(dot)org>, Chris Dunlop <chris(at)onthe(dot)net(dot)au>, Hackers List <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Re: [PATCHES] Australian timezone configure option |
Date: | 2001-06-12 16:21:39 |
Message-ID: | 200106121621.f5CGLde17075@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers pgsql-patches |
> Thomas Lockhart writes:
>
> > Before hacking the rather carefully evolved static tables let's consider
> > how to support time localization generally (e.g. language-specific names
> > for months). In the meantime, a compile-time solution for more easily
> > setting the "CST" interpretation would seem to be an incremental
> > improvement for "buildability" (and this has already been submitted).
>
> I'm not particularly happy about "popularizing" that compile time option
> beyond its current state (i.e., get in and edit config.h), and there's a
> reason why I haven't done it myself yet.
>
> --enable-xxx type configure options should, as a matter of principle, not
> replace one behaviour by another. (The proposed option replaces U.S.
> rules by Australian rules.) In this case it might look like a minor
> issue, but it's a slippery slope. For one thing, packages build by
> Australians will cease to behave reasonably in the rest of the world.
> That is the same reason why we don't want people altering NAMEDATALEN and
> BLCKSZ from configure.
>
> A run-time option seems like the appropriate solution.
Agreed. Compile-time is just the wrong way to go. We should have
compile-time stuff that just relates to the OS/compiler and sometimes
installed software, or simply stuff that just can't be changed without a
recompile/initdb like NAMEDATALEN.
--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2001-06-12 16:22:29 | Re: Australian timezone configure option |
Previous Message | Peter Eisentraut | 2001-06-12 16:19:05 | Re: Re: [PATCHES] Australian timezone configure option |
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2001-06-12 16:22:29 | Re: Australian timezone configure option |
Previous Message | Peter Eisentraut | 2001-06-12 16:19:05 | Re: Re: [PATCHES] Australian timezone configure option |