Re: Daylight Saving Time question PostgreSQL 8.1.4

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Daylight Saving Time question PostgreSQL 8.1.4
Дата
Msg-id 7680.1173809641@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Daylight Saving Time question PostgreSQL 8.1.4  (Josh Berkus <josh@agliodbs.com>)
Ответы Re: Daylight Saving Time question PostgreSQL 8.1.4  (Zdenek Kotala <Zdenek.Kotala@Sun.COM>)
Re: Daylight Saving Time question PostgreSQL 8.1.4  (Naz Gassiep <naz@mira.net>)
Список pgsql-hackers
Josh Berkus <josh@agliodbs.com> writes:
> Zdenec,
>> I have following idea:
>> 1) add guc varibale which enable usage of OS time zone files
>> 2) add extra parameters into ./configure script which enable OS TZ
>> support in the code and get path to OS TZ files.

> If we're adding it as a configure-time variable, there's no reason to have 
> a GUC.

I see zero reason to have either.  It would only make sense to do this
in the context of a platform-specific distribution such as an RPM, and
in that context the simplest solution is to let the RPM specfile make
the substitution (ie, after "make install" and before packaging,
rm -rf PG's timezone tree and insert a symlink).  Then it's on the RPM
packager's head whether it's the right thing to do or not.  A configure
switch strikes me as mostly a foot-gun, because the average user of
Postgres won't have any way to know whether the files are compatible.
        regards, tom lane


В списке pgsql-hackers по дате отправления:

Предыдущее
От: "Pavan Deolasee"
Дата:
Сообщение: HOT WIP Patch - Version 4.4
Следующее
От: David Fetter
Дата:
Сообщение: Re: My honours project - databases using dynamically attached entity-properties