Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1buLa7-0001td-Cu for pgsql-hackers@arkaria.postgresql.org; Wed, 12 Oct 2016 15:36:35 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1buLa6-0003fr-Py for pgsql-hackers@arkaria.postgresql.org; Wed, 12 Oct 2016 15:36:34 +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 1buLa5-0003f0-Li for pgsql-hackers@postgreSQL.org; Wed, 12 Oct 2016 15:36:33 +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 1buLa3-0004mC-0f for pgsql-hackers@postgreSQL.org; Wed, 12 Oct 2016 15:36:33 +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 u9CFaHll016064; Wed, 12 Oct 2016 11:36:17 -0400 From: Tom Lane To: Peter Eisentraut cc: Robert Haas , pgsql-hackers@postgreSQL.org Subject: Re: [COMMITTERS] pgsql: Extend framework from commit 53be0b1ad to report latch waits. In-reply-to: <3834df91-9cfe-05f6-d7d5-faa2ab772424@2ndquadrant.com> References: <6497.1475593948@sss.pgh.pa.us> <7244.1475594991@sss.pgh.pa.us> <3834df91-9cfe-05f6-d7d5-faa2ab772424@2ndquadrant.com> Comments: In-reply-to Peter Eisentraut message dated "Wed, 12 Oct 2016 11:18:57 -0400" Date: Wed, 12 Oct 2016 11:36:17 -0400 Message-ID: <16063.1476286577@sss.pgh.pa.us> X-Pg-Spam-Score: -2.2 (--) 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 Peter Eisentraut writes: > On 10/4/16 11:29 AM, Tom Lane wrote: >> Robert Haas writes: >>> Apparently, 'make world' does not build worker_spi. I thought 'make >>> world' was supposed to build everything? >> You'd have thunk, yeah. It looks like the issue is that src/Makefile >> is selective about recursing into certain subdirectories of test/, >> but mostly not test/ itself. src/test/Makefile naively believes it's >> in charge, though. Probably that logic ought to get shoved down one >> level, and then adjusted so that src/test/modules gets built by "all". >> Or else teach top-level "make world" to do "make all" in src/test/, >> but that seems like it's just doubling down on confusing interconnections. > We generally don't build test code during make world. > The reason src/Makefile does that is probably because pg_regress is part > of the installation. > So this looks more or less correct to me. Even if you think the behavior is correct (I'm not convinced), the implementation is certainly confusing. I don't like the way that src/test/Makefile gets bypassed for decisions about which of its subdirectories get built for what. Any normal person would expect that src/test/Makefile is what determines that. 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