Re: Integer datetimes

Bruce Momjian <bruce@momjian.us>

From: Bruce Momjian <bruce@momjian.us>
To: Zdenek Kotala <Zdenek.Kotala@Sun.COM>
Cc: Neil Conway <neilc@samurai.com>, pgsql-hackers@postgresql.org
Date: 2007-05-06T00:52:02Z
Lists: pgsql-hackers
Zdenek Kotala wrote:
> Neil Conway wrote:
> 
> > So, are there any corresponding benefits to providing both FP and
> > integer datetimes? AFAIK the following differences in user-visible
> > behavior exist:
> > 
> 
> There should be also problem with floating point implementation on 
> client and server side. For example if somebody use floating point 
> optimalization (-fast switch in Sun Studio) for server compilation and 
> client will be connected from another machine with standard floating 
> point behavior. Result could be wrong.

What?  We don't pass float as a binary to clients.  The client can be
any OS.

-- 
  Bruce Momjian  <bruce@momjian.us>          http://momjian.us
  EnterpriseDB                               http://www.enterprisedb.com

  + If your life is a hard drive, Christ can be your backup. +