Re: timestamp skew during 7.4 -> 8.2 upgrade

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: timestamp skew during 7.4 -> 8.2 upgrade
Дата
Msg-id 13855.1186779592@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: timestamp skew during 7.4 -> 8.2 upgrade  (Karsten Hilbert <Karsten.Hilbert@gmx.net>)
Ответы Re: timestamp skew during 7.4 -> 8.2 upgrade
Список pgsql-general
Karsten Hilbert <Karsten.Hilbert@gmx.net> writes:
> On Fri, Aug 10, 2007 at 10:11:29AM +0200, Louis-David Mitterrand wrote:
>> So if I understand correctly, a timestamp_tz is ...

> ... stored as UTC in the backend

> ... sent to clients shifted by whatever timezone was
>     requested by the client by one of several mechanisms:

>     - "set timezone to ..." used by the client
>     - "select ... at time zone ..." used by the client
>     - the server timezone if neither of the above is used

The other point to be clear on is that the "shifting" is done according
to whatever timezone rule files the server currently has.  Since
politicians keep changing daylight-savings rules, the same UTC date/time
might be displayed differently after an update of the relevant rule
file.

            regards, tom lane

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

Предыдущее
От: "Scott Marlowe"
Дата:
Сообщение: Re: SQL question: checking all required items
Следующее
От: Tom Lane
Дата:
Сообщение: Re: CREATE RULE on VIEW with INSERT after UPDATE does not work