pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Robert Haas <robertmhaas@gmail.com>
Cc: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Cc: Andres Freund <andres@anarazel.de>
Cc: pgsql-hackers@postgresql.org <pgsql-hackers@postgresql.org>
Subject: Re: Re: [COMMITTERS] pgsql: Extend framework from commit 53be0b1ad to report latch waits.
Date: Fri, 14 Oct 2016 14:00:05 -0400
Message-ID: <13052.1476468005@sss.pgh.pa.us> (raw)
In-Reply-To: <CA+TgmoYCEpgObW680pP3ajJVFjiXxO+BDD5BJVjpMunUUyT6Tw@mail.gmail.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>
	<20161012233838.ijc5whv4f5u72zq7@alap3.anarazel.de>
	<88f0f789-2281-a228-8327-4c271d96b4e9@2ndquadrant.com>
	<CA+TgmoZ6X1uHz-UdkYAdEDdWPU2nMnW4GVn11a0z3g1u6HxhCw@mail.gmail.com>
	<4590.1476459232@sss.pgh.pa.us>
	<CA+TgmoaNfO-j6CLudGcm41G3+L0iTw48maox=R=LNfGicJoByA@mail.gmail.com>
	<6796.1476461414@sss.pgh.pa.us>
	<CA+Tgmob=8sXQjDWQSTji9p_ckT5r7TSLiK+oWLZcGr3xXbSQWw@mail.gmail.com>
	<9212.1476463427@sss.pgh.pa.us>
	<CA+TgmoYCEpgObW680pP3ajJVFjiXxO+BDD5BJVjpMunUUyT6Tw@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>

Robert Haas <robertmhaas@gmail.com> writes:
> On Fri, Oct 14, 2016 at 9:43 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> 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.

> I'm not sure there's an easy way to test it via pg_regress, but if
> somebody can come up with something, sure.  But why stick to a rule
> that is inconvenient for no real benefit?  Compiling everything in
> src/test/modules when someone runs 'make check-world' would take a
> handful of seconds and prevent developer errors like the one that
> started this thread.  That seems like a slam-dunk from here,
> regardless of anything else.

I guess what I'm having a problem with is something that lives under
src/test/ and is not in fact intended as a test.  If you're not interested
in making it into a live test, it's in the wrong place.  You might as
well complain that you put C code under doc/src/sgml/ and it didn't get
compiled.

One idea is to put "check: all" into its makefile, if there's no prospect
of check doing something more than 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: <13052.1476468005@sss.pgh.pa.us>
Permalink:  ../13052.1476468005@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/13052.1476468005@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, robertmhaas@gmail.com, peter.eisentraut@2ndquadrant.com, andres@anarazel.de, pgsql-hackers@postgresql.org
  Subject: Re: [COMMITTERS] pgsql: Extend framework from commit 53be0b1ad to report latch waits.
  In-Reply-To: <13052.1476468005@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> <20161012233838.ijc5whv4f5u72zq7@alap3.anarazel.de> <88f0f789-2281-a228-8327-4c271d96b4e9@2ndquadrant.com> <CA+TgmoZ6X1uHz-UdkYAdEDdWPU2nMnW4GVn11a0z3g1u6HxhCw@mail.gmail.com> <4590.1476459232@sss.pgh.pa.us> <CA+TgmoaNfO-j6CLudGcm41G3+L0iTw48maox=R=LNfGicJoByA@mail.gmail.com> <6796.1476461414@sss.pgh.pa.us> <CA+Tgmob=8sXQjDWQSTji9p_ckT5r7TSLiK+oWLZcGr3xXbSQWw@mail.gmail.com> <9212.1476463427@sss.pgh.pa.us> <CA+TgmoYCEpgObW680pP3ajJVFjiXxO+BDD5BJVjpMunUUyT6Tw@mail.gmail.com> <13052.1476468005@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