Re: Units for storage of internal time zone offsets

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Units for storage of internal time zone offsets
Дата
Msg-id 4546.1026227894@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Units for storage of internal time zone offsets  (Thomas Lockhart <lockhart@fourpalms.org>)
Список pgsql-hackers
Thomas Lockhart <lockhart@fourpalms.org> writes:
>> Is there a reason for the restriction to one byte?  Offhand I don't
>> recall that we store TZ offsets on disk at all...

> Ah, we don't. Sorry I wasn't clear. This is only for the lookup table we
> use to interpret time zones on *input*. It is contained in
> src/backend/utils/adt/datetime.c

Well, sheesh.  Let's widen the byte field to int and store all the
offsets in minutes, or even seconds.
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: pg_tables and schemas
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Postgres Projects