Re: Anyone using "POSIX" time zone offset capability?

Поиск
Список
Период
Сортировка
От James Cloos
Тема Re: Anyone using "POSIX" time zone offset capability?
Дата
Msg-id m3iriiy3tj.fsf@lugabout.jhcloos.org
обсуждение исходный текст
Ответ на Re: Anyone using "POSIX" time zone offset capability?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
>>>>> "Tom" == Tom Lane <tgl@sss.pgh.pa.us> writes:

Tom> The weird thing about this allegedly-POSIX notation is the combination
Tom> of a symbolic name and a further offset from it.

AIUI, it is not a further offset but rather (mostly-)redundant data
specifying the exact offset from UTC¹ the text tz specifies.  Having
both provides easy parsing both for humans (the text) and for code
(the number).

-JimC

[1] Of course POSIX time is not really offset from UTC, since POSIX
    pretends there have been no leap seconds since 1970.  As such
    the timestamps are technically ambiguous as to whether the specify
    real UTC-based time or POSIX time....   (Currently there is a
    23-second difference between the two.)

--
James Cloos <cloos@jhcloos.com>         OpenPGP: 0xED7DAEA6

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

Предыдущее
От: "Gregory S. Williamson"
Дата:
Сообщение: Re: Postgres Database Slow
Следующее
От: "Sandeep Kumar Jakkaraju"
Дата:
Сообщение: Connection Pooling for Postgres