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

Re: BUG #4523: TO_CHAR function : the ".US" format returns incorrect value

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Moussard" <evelyne(dot)moussard(at)cartes-bancaires(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #4523: TO_CHAR function : the ".US" format returns incorrect value
Date: 2008-11-12 16:09:21
Message-ID: 16976.1226506161@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-bugs
"Moussard" <evelyne(dot)moussard(at)cartes-bancaires(dot)com> writes:
> Using the "TO_CHAR" function, the ".US" format doesn't display the correct
> value for the microseconds part of a timestamp value.

If you're using floating-point timestamps, this isn't a bug --- it's
just inevitable platform-specific roundoff error.  The particular test
case works as expected on the two machines I tried it on, but that
doesn't prove much of anything.

			regards, tom lane

In response to

pgsql-bugs by date

Next:From: Hiroshi SaitoDate: 2008-11-12 16:15:28
Subject: Re: BUG #4167: When generating UUID using UUID-OSSP module, UUIDs are not unique on Windows
Previous:From: Hiroshi SaitoDate: 2008-11-12 16:07:26
Subject: Re: BUG #4167: When generating UUID using UUID-OSSP module, UUIDs are not unique on Windows

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