Re: [GENERAL] precision of epoch

2007-06-14 Thread g . hintermayer
On Jun 14, 2:18 pm, [EMAIL PROTECTED] (Michael Fuhr) wrote: > On Thu, Jun 14, 2007 at 04:40:12AM -0700, [EMAIL PROTECTED] wrote: > > I'd like to convert timestamps without timezone to unix epoch values > > with at least microseconds resolution. > > but when i do e.g.: > > select extract (epoch from

Re: [GENERAL] precision of epoch

2007-06-14 Thread Michael Fuhr
On Thu, Jun 14, 2007 at 04:40:12AM -0700, [EMAIL PROTECTED] wrote: > I'd like to convert timestamps without timezone to unix epoch values > with at least microseconds resolution. > but when i do e.g.: > select extract (epoch from timestamp without time zone 'Thu 14 Jun > 05:58:09.929994 2007'); >

[GENERAL] precision of epoch

2007-06-14 Thread g . hintermayer
I'd like to convert timestamps without timezone to unix epoch values with at least microseconds resolution. but when i do e.g.: select extract (epoch from timestamp without time zone 'Thu 14 Jun 05:58:09.929994 2007'); i get: 1181793489.92999 so i loose the last digit. I'd expect 1181793489.92999