Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jqyo1-00014d-Gd for pgsql-hackers@arkaria.postgresql.org; Thu, 02 Jul 2020 12:59:09 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jqyo0-0002dZ-7H for pgsql-hackers@arkaria.postgresql.org; Thu, 02 Jul 2020 12:59:08 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jqynz-0002dS-Or for pgsql-hackers@lists.postgresql.org; Thu, 02 Jul 2020 12:59:08 +0000 Received: from mail-qt1-x841.google.com ([2607:f8b0:4864:20::841]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1jqynx-0006Xk-8j for pgsql-hackers@postgresql.org; Thu, 02 Jul 2020 12:59:06 +0000 Received: by mail-qt1-x841.google.com with SMTP id q22so14587824qtl.2 for ; Thu, 02 Jul 2020 05:59:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=from:subject:to:cc:references:autocrypt:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding:content-language; bh=O39KflZ5Lf64thoTVeiommOFS8RGJg/4lp9po5gT8ZI=; b=EcLtZ1AQh3LNkunKlizRTU464vzitSRQwQ3BAnK0sWJF5EjrBoCTYsr+0etAP4bEZf QyMuUdXLvZbK8QZ79JxNM6Rlj0Wnqhg4QjHuXSV3bzYW1QjB6AJ1SZ2C46d1k/57wp7o yRrYS3DztBny+4Hz8gUYCKTU3G9qeNahE9wVLGvOXumfdjacKaX7lWMAsg258SbB50H/ 3aJxz1a8a8AlIHKPNyVVNgQFdXYap44rbIoJpktGLe1u0UeNBC04UE/POE2tdgY00KqX TULClXWEFbO/r0HG75g+eMLsTM6AbkC/0yS16OeB0brPSckp47y9wWf0wA5bHiF6TV7K n3Pg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:subject:to:cc:references:autocrypt :message-id:date:user-agent:mime-version:in-reply-to :content-transfer-encoding:content-language; bh=O39KflZ5Lf64thoTVeiommOFS8RGJg/4lp9po5gT8ZI=; b=Kfmm7M8qplGMN3zACEvbgqROLqabtcQImxvPgyB2sdknEZ/S+qsAAtYeGiJpPjZvi9 QHMGXBD3qoW4PAHNez5TKgmMRobNDwH6+tkod5yzhswGwp1SL8C34Of9BwcHJvZkP851 FMJZ2CTTzP4STJSTE8hLYMQ1p2lnwoXx+X1uf5DR2yWIIPyWTvIKrFAUGrCMtz1dOpok yv7HvCdZnZUXbQsflvWUia9rG7hHJ0moVdIKHBWnpITGpBkHr4T9JNoeSZFGGDpXronl b1MhFV7H46mXW6UKLr/1KBI+GTNhCFREwbayQ5fmzsibGnz7e7CZ3KYHZxDykTR/0VqO 11IA== X-Gm-Message-State: AOAM5339f2SiuVxgTRvwnD8BXOoJNTUb2+A/04r+SU2dzrYcUVQ2ZkMv Wg6ehB9rbuh/zEq3aIfh2Q0LaEUlgMlv1dNVp7sVQXJWFWGKlsySmMfLvPLmMz/h69UyNPNtNdv UvPQY7+pgfZAFnj4VvvNYZpKP92RUlf2GC5p3FKRlN9QHGSeU2mwneIkU6aBqFX88O3BZn7aLUR lx93yKInNW2Voj X-Google-Smtp-Source: ABdhPJwgmzwNhPaSbJT0wgqpJt5v8pA57lhDP//FnN44l7AvSoGXVJA+TJfMV9hHqQhFSMkMLSJVrA== X-Received: by 2002:ac8:4e08:: with SMTP id c8mr31226679qtw.299.1593694743711; Thu, 02 Jul 2020 05:59:03 -0700 (PDT) Received: from ?IPv6:2600:1700:722:4630::43? ([2600:1700:722:4630::43]) by smtp.gmail.com with ESMTPSA id 61sm972125qtg.46.2020.07.02.05.59.01 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 02 Jul 2020 05:59:02 -0700 (PDT) From: Andrew Dunstan X-Google-Original-From: Andrew Dunstan Subject: Re: POC: rational number type (fractions) To: Stephen Frost , Tom Lane Cc: Noah Misch , Robert Haas , Chapman Flack , Peter Eisentraut , Joe Nelson , "pgsql-hackers@postgresql.org" References: <20200208042554.GE42864@begriffs.com> <0e2422da-953b-6b96-1900-f67c7e5e3307@2ndquadrant.com> <5EC3031C.6020105@anastigmatix.net> <20552.1589840076@sss.pgh.pa.us> <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> Autocrypt: addr=andrew.dunstan@2ndQuadrant.com; prefer-encrypt=mutual; keydata= mQENBE7KWFkBCAClridxur2AIc7eW2AR7izbfp3EnNefie2HbLF0izW5Ik5UjX2HBXBx4syI gY6b0ugohXrr274+baoAlvSbq6cAoQuEVrk5IZFzt20b1Xkx65FwGSEj526yiKLocqkJceSq Xr9xcA5SGY+FZv441chh5SU92v4q6z+6LPpoHOh97ptAVXZYNTtU0LevyvD5lja0TzbvJm6C eFXitJfnm1pLEr0DGJCR/iUOl/N62Kh4855zZC7NHIjQHPOvV5Stz/l5ilDhvGVk+xkXFPys SjZoUr1rXhYLpiyi5sR0X9FHXT0KnGuz1F5ERO7ZTLSSQ6fJwPj6gOk9K+vvoKvoeql5ABEB AAG0L0FuZHJldyBEdW5zdGFuIDxhbmRyZXcuZHVuc3RhbkAybmRRdWFkcmFudC5jb20+iQFY BBMBAgBCAhsDBgsJCAcDAgYVCAIJCgsEFgIDAQIeAQIXgBYhBOQ+WEYd/Hy/RGkVpZn6f8tZ /DuBAhkB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fPymZkd cA7NGm/mmWeJiWBFIDyjzYxrjku8ty9TZJVsaRXnS+OFQzXz9Eu2wTpKdHij46uY Message-ID: <75123976-d1ac-0170-0193-be41d3655cbf@2ndQuadrant.com> Date: Thu, 2 Jul 2020 08:59:01 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.6.0 MIME-Version: 1.0 In-Reply-To: <20200701230007.GC3125@tamriel.snowman.net> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Content-Language: en-US List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 7/1/20 7:00 PM, Stephen Frost wrote: > Greetings, > > * Tom Lane (tgl@sss.pgh.pa.us) wrote: >> Stephen Frost 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