Re: postgres timestamp data errors - Mailing list pgsql-general

From Kevin Grittner
Subject Re: postgres timestamp data errors
Date
Msg-id 20121130130807.69320@gmx.com
Whole thread Raw
In response to postgres timestamp data errors  (maxxedev maxxedev <maxxedev@gmail.com>)
List 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 by date:

Previous
From: "Albe Laurenz"
Date:
Subject: Re: difference in query performance due to the inclusion of a polygon geometry field
Next
From: Henry Drexler
Date:
Subject: query performance, though it was timestamps,maybe just table size?