pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Cc: Robert Haas <robertmhaas@gmail.com>
Cc: pgsql-hackers@postgreSQL.org
Subject: Re: [COMMITTERS] pgsql: Extend framework from commit 53be0b1ad to report latch waits.
Date: Wed, 12 Oct 2016 11:36:17 -0400
Message-ID: <16063.1476286577@sss.pgh.pa.us> (raw)
In-Reply-To: <3834df91-9cfe-05f6-d7d5-faa2ab772424@2ndquadrant.com>
References: <E1brREc-00084X-43@gemulon.postgresql.org>
	<6497.1475593948@sss.pgh.pa.us>
	<CA+TgmoY3D=iNWt+6K8pczkwDQe0yYTAGrkWO2T=CPfjcgD+RWA@mail.gmail.com>
	<CA+TgmoaVBGFu+i7NdHRcqpi00OwURQZr6_V93mQe6ZN2RL8FJw@mail.gmail.com>
	<7244.1475594991@sss.pgh.pa.us>
	<3834df91-9cfe-05f6-d7d5-faa2ab772424@2ndquadrant.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>

Peter Eisentraut <peter.eisentraut@2ndquadrant.com> writes:
> On 10/4/16 11:29 AM, Tom Lane wrote:
>> Robert Haas <robertmhaas@gmail.com> 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



view thread (25+ messages)  latest in thread

Message-ID: <16063.1476286577@sss.pgh.pa.us>
Permalink:  ../16063.1476286577@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/16063.1476286577@sss.pgh.pa.us

 · 

reply

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: tgl@sss.pgh.pa.us, peter.eisentraut@2ndquadrant.com, robertmhaas@gmail.com, pgsql-hackers@postgreSQL.org
  Subject: Re: [COMMITTERS] pgsql: Extend framework from commit 53be0b1ad to report latch waits.
  In-Reply-To: <16063.1476286577@sss.pgh.pa.us>
  References: <E1brREc-00084X-43@gemulon.postgresql.org> <6497.1475593948@sss.pgh.pa.us> <CA+TgmoY3D=iNWt+6K8pczkwDQe0yYTAGrkWO2T=CPfjcgD+RWA@mail.gmail.com> <CA+TgmoaVBGFu+i7NdHRcqpi00OwURQZr6_V93mQe6ZN2RL8FJw@mail.gmail.com> <7244.1475594991@sss.pgh.pa.us> <3834df91-9cfe-05f6-d7d5-faa2ab772424@2ndquadrant.com> <16063.1476286577@sss.pgh.pa.us>

* 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