From: Andrew Dunstan <andrew.dunstan@2ndquadrant.com>
To: Stephen Frost <sfrost@snowman.net>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Noah Misch <noah@leadboat.com>
Cc: Robert Haas <robertmhaas@gmail.com>
Cc: Chapman Flack <chap@anastigmatix.net>
Cc: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Cc: Joe Nelson <joe@begriffs.com>
Cc: pgsql-hackers@postgresql.org <pgsql-hackers@postgresql.org>
Subject: Re: POC: rational number type (fractions)
Date: Thu, 2 Jul 2020 08:59:01 -0400
Message-ID: <75123976-d1ac-0170-0193-be41d3655cbf@2ndQuadrant.com> (raw)
In-Reply-To: <20200701230007.GC3125@tamriel.snowman.net>
References: <20200208042554.GE42864@begriffs.com>
<0e2422da-953b-6b96-1900-f67c7e5e3307@2ndquadrant.com>
<5EC3031C.6020105@anastigmatix.net>
<20552.1589840076@sss.pgh.pa.us>
<CA+TgmobheOusVXxzKX6y3NaHYdTuoRFEaff6DcYMOEBgjY8gBQ@mail.gmail.com>
<20200522055332.GA1296415@rfd.leadboat.com>
<57d0e68d-2706-60a3-f020-ba4c8fd4b64b@2ndQuadrant.com>
<20200701203246.GX3125@tamriel.snowman.net>
<812520.1593643251@sss.pgh.pa.us>
<20200701230007.GC3125@tamriel.snowman.net>
On 7/1/20 7:00 PM, Stephen Frost wrote:
> Greetings,
>
> * Tom Lane (tgl@sss.pgh.pa.us) wrote:
>> Stephen Frost <sfrost@snowman.net> writes:
>>> I disagree with this and instead lean more towards the side that Robert
>>> and Jeff were taking in that this would be a useful extension and
>>> something we should consider including in core. I disagree with Tom and
>>> Noah, specifically because, if we add this capability then I see our
>>> potential use-cases as increasing and therefore getting more individuals
>>> interested in working with us- to potentially include new contributors
>>> and possibly committers.
>> FWIW, I'm entirely in favor of having this available as an extension.
>> But I'm not in favor of it being in core. I'm afraid it will end up
>> like the geometric types, i.e. a backwater of not-very-good code that
>> gets little love because it's not in line with the core competencies
>> of a bunch of database geeks. If it's a separate project, then we
>> could hope to attract interest from people who know the subject matter
>> better but would never dare touch the PG backend in general. There's
>> also the whole project-management issue that we have finite resources
>> and so we can *not* afford to put every arguably-useful feature in core.
> The issue that you highlight regarding geometric types is really that we
> simply refuse to punt things from core, ever, and that's not a
> reasonable position to take for long-term sanity. On the flip side,
> it's ridiculously rare for an extension to have any kind of real
> life as an independent project- yes, there's one big exception (PostGIS)
> because it's simply ridiculously useful, and a few other cases
> where one company/individual or another funds the work of a particular
> extension because they need it for whatever, but by and large,
> extensions outside of PG simply don't thrive as independent projects.
>
> There's various potential reasons for that, from being hard to find, to
> being hard to install and work with, to the fact that we don't have a
> centralized extension system (PGXN isn't really endorsed at all by
> core... and I don't really think it should be), and our general
> extension management system isn't particularly great anyway.
>
Then these are things we should fix. But the right fix isn't including
every extension in the core code.
cheers
andrew
--
Andrew Dunstan https://www.2ndQuadrant.com
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-hackers@postgresql.org
Cc: andrew.dunstan@2ndquadrant.com, sfrost@snowman.net, tgl@sss.pgh.pa.us, noah@leadboat.com, robertmhaas@gmail.com, chap@anastigmatix.net, peter.eisentraut@2ndquadrant.com, joe@begriffs.com
Subject: Re: POC: rational number type (fractions)
In-Reply-To: <75123976-d1ac-0170-0193-be41d3655cbf@2ndQuadrant.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox