Re: postgres timestamp data errors

Поиск
Список
Период
Сортировка
От Kevin Grittner
Тема Re: postgres timestamp data errors
Дата
Msg-id 20121130130807.69320@gmx.com
обсуждение исходный текст
Ответ на postgres timestamp data errors  (maxxedev maxxedev <maxxedev@gmail.com>)
Список pgsql-general
maxxedev maxxedev wrote:

> db=# show timezone;
>  TimeZone
> ----------
>  Eire
> (1 row)

> db=# insert into test_table values('1912-03-14 00:00:00.000000 -0025');
> INSERT 0 1
> db=# select * from test_table;
>  invoice_date
> ------------------------------
>  1912-03-13 23:59:39-00:25:21
> (1 row)
>
>
> Note that inserted timestamp and stored timestamps are logically
> equivalent. However, why does SELECT show the timestamp in a timezone
> offset with minute precision?

Because in 1913, that was the offset between Dublin time and GMT.

http://www.velocityreviews.com/forums/t372817-timestamp-and-the-eire-timezone.html

-Kevin


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

Предыдущее
От: "Albe Laurenz"
Дата:
Сообщение: Re: difference in query performance due to the inclusion of a polygon geometry field
Следующее
От: Henry Drexler
Дата:
Сообщение: query performance, though it was timestamps,maybe just table size?