Re: Timezone database changes

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Timezone database changes
Дата
Msg-id 12334.1192110476@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Timezone database changes  ("Trevor Talbot" <quension@gmail.com>)
Ответы Re: Timezone database changes
Список pgsql-hackers
"Trevor Talbot" <quension@gmail.com> writes:
> On 10/11/07, Magne M=E6hre <Magne.Mahre@sun.com> wrote:
>> Trevor Talbot wrote:
>>> That situation might sound a bit contrived, but I think the real point
>>> is that even for some records of observed times, the local time is the
>>> authoritative one, not UTC.
>> 
>> ...and for that scenario you have TIMESTAMP WITHOUT TIME ZONE

> But that doesn't give you DST-sensitive display for free, which is
> tempting for application use, especially if the application is meant
> to be suitably generic.

If you are dealing only in local time, what do you need timezone for at
all?

Also note the possibility of coercing one type to the other on-the-fly
for display, or using the AT TIME ZONE construct.
        regards, tom lane


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

Предыдущее
От: Gregory Stark
Дата:
Сообщение: Re: [PATCHES] Eliminate more detoast copies for packed varlenas
Следующее
От: "Florian G. Pflug"
Дата:
Сообщение: Re: full text search in 8.3