Re: How to show timestamp with milliseconds(3 digits) in Select clause in Ver7.1 ?

From: "Liang Luo" <liang(dot)luo(at)convergia(dot)net>
To: "'Tom Lane'" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: <pgsql-sql(at)postgresql(dot)org>
Subject: Re: How to show timestamp with milliseconds(3 digits) in Select clause in Ver7.1 ?
Date: 2003-03-28 15:57:17
Message-ID: 013e01c2f542$b58d7af0$e6071cac@convergia.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

My version is 7.1, and I also have another version 7.2 but this problem does
not happen on version 7.2. Now I want to dump these data out from version
7.1 and upgrade it, and then load these data into version 7.2

Thanks,

Liang

-----Original Message-----
From: Tom Lane [mailto:tgl(at)sss(dot)pgh(dot)pa(dot)us]
Sent: Wednesday, March 26, 2003 9:07 AM
To: liang(dot)luo(at)convergia(dot)net
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: [SQL] How to show timestamp with milliseconds(3 digits) in
Select clause in Ver7.1 ?

"Liang Luo" <liang(dot)luo(at)convergia(dot)net> writes:
> 2003-01-01 00:43:60.00-05
> Actually, the real data of second and millisecond is 59.996-05, but it
shows
> 60.00. I failed to load it when I use this result in other query.

This looks like an old bug. What Postgres version are you using, and
on what platform?

regards, tom lane

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Zodiac 2003-03-28 22:31:46 Stored procedures
Previous Message Peter Eisentraut 2003-03-28 13:57:00 Re: field defaults