Re: R-Trees in PostgreSQL

From: Sam Mason <sam(at)samason(dot)me(dot)uk>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: R-Trees in PostgreSQL
Date: 2009-11-03 11:23:04
Message-ID: 20091103112304.GL5407@samason.me.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Mon, Nov 02, 2009 at 08:10:47PM -0800, Greg Stark wrote:
> As far as i know all of these actually work with doubles
> though, so you'll lose precision.

IEEE 754 floating point numbers (i.e. float8 or "double precision" in
PG) are defined to have a 52 bit significand and hence can store integer
values up to 2^52 without loss of precision. How good PG is numerically
I'm not sure, but you should be able to get pretty close to this range.

--
Sam http://samason.me.uk/

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Kevin Grittner 2009-11-03 15:13:43 Re: Problem with database performance, Debian 4gb ram ?
Previous Message luyen dinhvan 2009-11-03 10:29:51 question