Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bv5aU-0002Ny-51 for pgsql-hackers@arkaria.postgresql.org; Fri, 14 Oct 2016 16:44:02 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bv5aT-0005Dq-4p for pgsql-hackers@arkaria.postgresql.org; Fri, 14 Oct 2016 16:44:01 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bv5aR-0005Cz-QI for pgsql-hackers@postgresql.org; Fri, 14 Oct 2016 16:43:59 +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_2) (envelope-from ) id 1bv5aN-00022x-Dk for pgsql-hackers@postgresql.org; Fri, 14 Oct 2016 16:43:57 +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 u9EGhlVS009213; Fri, 14 Oct 2016 12:43:47 -0400 From: Tom Lane To: Robert Haas cc: Peter Eisentraut , Andres Freund , "pgsql-hackers@postgresql.org" Subject: Re: Re: [COMMITTERS] pgsql: Extend framework from commit 53be0b1ad to report latch waits. In-reply-to: References: <6497.1475593948@sss.pgh.pa.us> <7244.1475594991@sss.pgh.pa.us> <3834df91-9cfe-05f6-d7d5-faa2ab772424@2ndquadrant.com> <20161012233838.ijc5whv4f5u72zq7@alap3.anarazel.de> <88f0f789-2281-a228-8327-4c271d96b4e9@2ndquadrant.com> <4590.1476459232@sss.pgh.pa.us> <6796.1476461414@sss.pgh.pa.us> Comments: In-reply-to Robert Haas message dated "Fri, 14 Oct 2016 09:17:25 -0700" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <9211.1476463427.1@sss.pgh.pa.us> Date: Fri, 14 Oct 2016 12:43:47 -0400 Message-ID: <9212.1476463427@sss.pgh.pa.us> X-Pg-Spam-Score: -2.3 (--) 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 Fri, Oct 14, 2016 at 9:10 AM, Tom Lane wrote: >> Well, if it has no tests *and* it's not getting installed, what's >> the point of having it at all? > It's intended as a demonstration of stuff you could do with background > workers. Perhaps that begs the question of why Alvaro included it in > the set of things that got moved from contrib to src/test/modules, but > I'm still of the opinion that we should build everything in > src/test/modules when the user does 'make world', whether it has tests > defined or not. TBH, I can't muster much sympathy for that position. Make a test case for it, and the problem goes away, not to mention that confidence in whether it actually works (not just compiles) goes up a lot. 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