Tom Lane wrote:
> "Mikko Tiihonen" <mikko.tiihonen@iki.fi> writes:
>> PostgreSQL compiled with intdatetime=off
>> stamp
>> ----------------------------------
>> 0134-05-06 08:52:26.123459+01:39
>> 2134-05-06 09:12:34.123456+02
>> (2 rows)
>
> [ shrug... ] Floating-point timestamps are not perfectly accurate; the
> further away you go from 2000-01-01, the less so.
Agreed.
> The weird offset from GMT is probably a function of your local timezone, which you didn't
> mention.
Most likely "Europe/Helsinki". I can reproduce the problem with that:
postgres=# set time zone 'Europe/Helsinki';
SET
postgres=# SELECT * FROM tester;
stamp
-------------------------------------
0134-05-06 08:52:26.123459+01:39:52
2134-05-06 09:12:34.123456+02
(2 rows)
--
Heikki Linnakangas
EnterpriseDB http://www.enterprisedb.com