Re: Timestamp precission question - Mailing list pgsql-general

From Tom Lane
Subject Re: Timestamp precission question
Date
Msg-id 11686.1226434573@sss.pgh.pa.us
Whole thread Raw
In response to Timestamp precission question  (Vaclav TVRDIK <tvrdik@i3.cz>)
Responses Re: Timestamp precission question  (Vaclav TVRDIK <tvrdik@i3.cz>)
List pgsql-general
Vaclav TVRDIK <tvrdik@i3.cz> writes:
> I have one question about converting timestamps to text. I believed
> that using to_char function with proper mask and casting by style
> COLUMN::text is equal, but when I issue following query against  8.3.3
> database it returns me different values (they differ on last position
> of microsecconds value, maybe rounding error ?).

Hm, I can't replicate that here --- but if you're using floating-point
timestamps, as is default in 8.3, then a certain amount of
machine-dependent roundoff fuzziness is not surprising.

            regards, tom lane

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: SHMMAX and shared_bufffers
Next
From: Tom Lane
Date:
Subject: Re: Very slow queries w/ NOT IN preparation (seems like a bug, test case)