Re: R-Trees in PostgreSQL

Поиск
Список
Период
Сортировка
От Sam Mason
Тема Re: R-Trees in PostgreSQL
Дата
Msg-id 20091103112304.GL5407@samason.me.uk
обсуждение исходный текст
Ответ на Re: R-Trees in PostgreSQL  (Greg Stark <gsstark@mit.edu>)
Список 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/

В списке pgsql-general по дате отправления:

Предыдущее
От: Greg Stark
Дата:
Сообщение: Re: R-Trees in PostgreSQL
Следующее
От: "Arnold, Sandra"
Дата:
Сообщение: Enabling Server Instrumentation on 8.4.1