Re: POC: rational number type (fractions) - Mailing list pgsql-hackers

From Robert Haas
Subject Re: POC: rational number type (fractions)
Date
Msg-id CA+TgmobheOusVXxzKX6y3NaHYdTuoRFEaff6DcYMOEBgjY8gBQ@mail.gmail.com
Whole thread Raw
In response to Re: POC: rational number type (fractions)  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: POC: rational number type (fractions)  (Noah Misch <noah@leadboat.com>)
List pgsql-hackers
On Mon, May 18, 2020 at 6:15 PM Tom Lane <tgl@sss.pgh.pa.us> wrote:
> There surely are use-cases for true rational arithmetic, but I'm
> dubious that it belongs in core Postgres.  I don't think that enough
> of our users would want it to justify expending core-project maintenance
> effort on it.  So I'd be happier to see this as an out-of-core extension.

As is often the case, I'm a little more positive about including this
than Tom, but as is also often the case, I'm somewhat cautious, too.
On the one hand, I think it would be cool to have and people would
like it. But, On the other hand, I also think we'd only want it if
we're convinced that it's a really good implementation and that
there's not a competing design which is better, or even equally good.
Those things don't seem too clear at this point, so I hope Jeff and
Joe keep chatting about it ... and maybe some other people who are
knowledgeable about this will chime in, too.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



pgsql-hackers by date:

Previous
From: Piotr Stefaniak
Date:
Subject: Re: pg_bsd_indent and -Wimplicit-fallthrough
Next
From: Jeff Davis
Date:
Subject: Re: Trouble with hashagg spill I/O pattern and costing