Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Z0XWd-0003ci-Ti for pgsql-hackers@arkaria.postgresql.org; Thu, 04 Jun 2015 15:57:48 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Z0XWd-0007f8-E3 for pgsql-hackers@arkaria.postgresql.org; Thu, 04 Jun 2015 15:57:47 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1Z0XWc-0007ey-M8 for pgsql-hackers@postgresql.org; Thu, 04 Jun 2015 15:57:46 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1Z0XWZ-0002jC-DO for pgsql-hackers@postgresql.org; Thu, 04 Jun 2015 15:57:46 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id t54Fvaop011342; Thu, 4 Jun 2015 11:57:36 -0400 From: Tom Lane To: Robert Haas cc: Andrew Dunstan , Stephen Frost , "Joshua D. Drake" , "pgsql-hackers@postgresql.org" Subject: Re: RFC: Remove contrib entirely In-reply-to: References: <55674016.80005@commandprompt.com> <20150528193556.GH26667@tamriel.snowman.net> <5567C5EB.3070703@gmx.net> <5567CB9E.1030502@commandprompt.com> <20150529031004.GU26667@tamriel.snowman.net> <5567DDBA.8020403@commandprompt.com> <55686D84.4040202@commandprompt.com> <20150529143026.GV26667@tamriel.snowman.net> <55706D1D.4040606@dunslane.net> Comments: In-reply-to Robert Haas message dated "Thu, 04 Jun 2015 11:30:33 -0400" Date: Thu, 04 Jun 2015 11:57:36 -0400 Message-ID: <11341.1433433456@sss.pgh.pa.us> X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org Robert Haas writes: > On Thu, Jun 4, 2015 at 11:22 AM, Andrew Dunstan wrote: >> The biggest problem is that packagers tend just to bundle contrib together >> in one lump. If we could divide it into two, something like "standard >> modules" and "misc", with the former being included with the server package, >> I think that would be an advance, although packagers might reasonably want >> to treat pgcrypto as a special case. As an ex-packager, I agree that would be a good thing. In particular we should try to avoid people packaging stuff that's meant either for server testing or as sample-source-code-not-useful-in-itself. We've made some progress on the former via src/test/modules but I wonder if we're all the way there; test_decoding surely shouldn't be in contrib on this measure should it? BTW, pg_upgrade is also a special case from a packager's viewpoint, since it needs to be bundled with back-version executables. > The problem is that it's very hard to agree on which stuff ought to be > standard and which stuff ought to be misc. There's probably some > stuff that almost everyone would agree is pretty useful (like hstore > and postgres_fdw) but figuring out which stuff isn't useful is a lot > harder. Almost anything you say - that's junk - someone else will say > - no, that thing is great, I use it all the time. For example, I just > offered contrib/isn as a sort of archetypal example of stuff that's > pretty marginal crap and Josh immediately came back and said, hey, I > use that! I don't see any principled way of getting past that > difficulty. Just because a module isn't regularly used by someone who > reads -hackers daily doesn't mean it's not worth keeping. Yeah. One possible way of measuring this would be to go through the commit logs and count commits in contrib/ that either added a new feature or fixed a field-reported bug (ie, did not arise simply from core-code-driven housekeeping). Either would be solid evidence that somebody out there is using it. Gathering the evidence would be pretty tedious though :-( regards, tom lane -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers