Re: POC: rational number type (fractions)

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: POC: rational number type (fractions)
Дата
Msg-id 0e2422da-953b-6b96-1900-f67c7e5e3307@2ndquadrant.com
обсуждение исходный текст
Ответ на POC: rational number type (fractions)  (Joe Nelson <joe@begriffs.com>)
Ответы Re: POC: rational number type (fractions)  (Chapman Flack <chap@anastigmatix.net>)
Список pgsql-hackers
On 2020-02-08 05:25, Joe Nelson wrote:
> Hi hackers, attached is a proof of concept patch adding a new base type
> called "rational" to represent fractions. It includes arithmetic,
> simplification, conversion to/from float, finding intermediates with a
> stern-brocot tree, custom aggregates, and btree/hash indices.

The numeric type already stores rational numbers.  How is this 
different?  What's the use?

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



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

Предыдущее
От: Vik Fearing
Дата:
Сообщение: Re: Missing grammar production for WITH TIES
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: PostgresSQL project