Re: Problem with timezones

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Problem with timezones
Дата
Msg-id 15381.1056771523@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Problem with timezones  (Kay-Uwe Genz <kug1977@web.de>)
Список pgsql-bugs
Kay-Uwe Genz <kug1977@web.de> writes:
> Is this a bug or is this me mistake?

Yours I think.  Type TIME WITH TIME ZONE stores a time of day
(from 00:00:00 to 23:59:59) plus a time zone (some offset east
or west of Greenwich --- I think we allow up to plus or minus
13 hours).  I see nothing in the concept that would allow for
a negative local-time-of-day.

If you need a signed time-like datatype, maybe INTERVAL is closer
to what you're looking for.

            regards, tom lane

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

Предыдущее
От: Kay-Uwe Genz
Дата:
Сообщение: Problem with timezones
Следующее
От: "Enke, Michael"
Дата:
Сообщение: Re: [HACKERS] again: Bug #943: Server-Encoding from EUC_TW