Skip site navigation (1) Skip section navigation (2)

Re: Postgres storing time in strange manner

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>,Casey Allen Shobe <cshobe(at)secureworks(dot)net>,Thomas Lockhart <lockhart(at)fourpalms(dot)org>, pgsql-bugs(at)postgreSQL(dot)org
Subject: Re: Postgres storing time in strange manner
Date: 2002-09-17 06:07:31
Message-ID: 21141.1032242851@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-bugspgsql-novice
I said:
> I had success with this test:

BTW, some digging in the assembly code shows that the actual problem is
this: instead of emitting "x / 3600.0", with -ffast-math the compiler
emits the equivalent of "x * (double) (1.0 / 3600.0)".  It's the
last-bit inaccuracy of the latter constant that's killing us.

			regards, tom lane

In response to

pgsql-novice by date

Next:From: WimDate: 2002-09-17 08:11:41
Subject: Still big problems with pg_dump!
Previous:From: Tom LaneDate: 2002-09-17 06:01:32
Subject: Re: Postgres storing time in strange manner

pgsql-bugs by date

Next:From: pgsql-bugsDate: 2002-09-17 14:05:05
Subject: Bug #771: rewrite rules on update or insert do not report errors
Previous:From: Tom LaneDate: 2002-09-17 06:01:32
Subject: Re: Postgres storing time in strange manner

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group