pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andrew Dunstan <andrew.dunstan@2ndquadrant.com>
Cc: pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Provide a TLS init hook
Date: Thu, 26 Mar 2020 16:31:06 -0400
Message-ID: <20683.1585254666@sss.pgh.pa.us> (raw)
In-Reply-To: <6919ea18-f7e5-fd00-48b0-20eae2c9dc7d@2ndQuadrant.com>
References: <E1jHDdK-0002YP-15@gemulon.postgresql.org>
	<15993.1585173676@sss.pgh.pa.us>
	<16587.1585174641@sss.pgh.pa.us>
	<19603.1585179895@sss.pgh.pa.us>
	<a2a8b035-f9bd-eeb4-46ca-72e857040b54@2ndQuadrant.com>
	<718.1585186096@sss.pgh.pa.us>
	<35de6665-55d7-d888-95e5-6c0094ab66b4@2ndQuadrant.com>
	<10659.1585230611@sss.pgh.pa.us>
	<6965f28d-8ff4-a371-dacf-ce21349d52c5@2ndQuadrant.com>
	<14349.1585236673@sss.pgh.pa.us>
	<6919ea18-f7e5-fd00-48b0-20eae2c9dc7d@2ndQuadrant.com>

Andrew Dunstan <andrew.dunstan@2ndquadrant.com> writes:
> On 3/26/20 11:31 AM, Tom Lane wrote:
>> Andrew Dunstan <andrew.dunstan@2ndquadrant.com> writes:
>>> I don't think this belongs in installcheck, we should add
>>> 'NO_INSTALLCHECK = 1' to the Makefile.

>> Why?  The other src/test/modules/ modules with TAP tests do not
>> specify that, with the exception of commit_ts which has a solid
>> doesnt-work-in-the-default-configuration excuse.

> That seems wrong, installcheck should be testing against an installed
> instance, and the TAP tests don't.

So?  We clearly document that for the TAP tests, "make installcheck"
means "use the installed executables, but run a new instance" [1].

> Moreover, from the buildfarm's POV
> it's completely wrong, as we call the installcheck targets multiple
> times, once for each configured locale. See one of the animals that
> tests multiple locales (e.g. crake or prion)

Yeah.  That's productive if you think the tests might be
locale-sensitive.  I doubt that any of the ones under src/test/modules/
actually are at the moment, so maybe this is a waste of buildfarm effort.
But I don't think that it's the place of the Makefiles to dictate such
policy, and especially not for them to do so by breaking the ability to
use "make installcheck" at all.

			regards, tom lane

[1] https://www.postgresql.org/docs/devel/regress-tap.html





view thread (16+ messages)  latest in thread

Message-ID: <20683.1585254666@sss.pgh.pa.us>
Permalink:  ../20683.1585254666@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/20683.1585254666@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, andrew.dunstan@2ndquadrant.com
  Subject: Re: pgsql: Provide a TLS init hook
  In-Reply-To: <20683.1585254666@sss.pgh.pa.us>
  References: <E1jHDdK-0002YP-15@gemulon.postgresql.org> <15993.1585173676@sss.pgh.pa.us> <16587.1585174641@sss.pgh.pa.us> <19603.1585179895@sss.pgh.pa.us> <a2a8b035-f9bd-eeb4-46ca-72e857040b54@2ndQuadrant.com> <718.1585186096@sss.pgh.pa.us> <35de6665-55d7-d888-95e5-6c0094ab66b4@2ndQuadrant.com> <10659.1585230611@sss.pgh.pa.us> <6965f28d-8ff4-a371-dacf-ce21349d52c5@2ndQuadrant.com> <14349.1585236673@sss.pgh.pa.us> <6919ea18-f7e5-fd00-48b0-20eae2c9dc7d@2ndQuadrant.com> <20683.1585254666@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