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

Re: a question about dates and timestamp

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: poange(at)technologist(dot)com
Cc: Karel Zak <zakkr(at)zf(dot)jcu(dot)cz>, pgsql-sql(at)postgresql(dot)org
Subject: Re: a question about dates and timestamp
Date: 2000-08-03 15:20:44
Message-ID: (view raw or whole thread)
Lists: pgsql-sql
Ange Michel POZZO <poange(at)technologist(dot)com> writes:
> select datetime(abstime( floor (value) ));
> select datetime(abstime( int4 (value) ));
> select datetime(abstime( numeric_int4 (value) ));

> in all case :
> ERROR:  pg_atoi: error in "952969611.000000": can't parse ".000000" 

That was fixed in January.  Update to 7.0 and it'll work fine.
You might be able to make it work in 6.5 like this:

			regards, tom lane

In response to

pgsql-sql by date

Next:From: Mark VolpeDate: 2000-08-03 15:30:27
Subject: PL/pgSQL evaluation order
Previous:From: Tom LaneDate: 2000-08-03 15:05:09
Subject: Re: What is happening?

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