Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lUXPA-0002OP-3r for pgsql-hackers@arkaria.postgresql.org; Thu, 08 Apr 2021 16:21:16 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lUXP9-0006vd-0g for pgsql-hackers@arkaria.postgresql.org; Thu, 08 Apr 2021 16:21:15 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lUXP8-0006vW-QZ for pgsql-hackers@lists.postgresql.org; Thu, 08 Apr 2021 16:21:14 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lUXP6-0006aB-Or for pgsql-hackers@lists.postgresql.org; Thu, 08 Apr 2021 16:21:13 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 138GL5Vd1884375; Thu, 8 Apr 2021 12:21:05 -0400 From: Tom Lane To: Julien Rouhaud cc: Andrew Dunstan , Andres Freund , Michael Paquier , Peter Eisentraut , Jaime Casanova , PostgreSQL Hackers Subject: Re: SQL-standard function body In-reply-to: <20210408111936.bbrjonwadodhaswf@nol> References: <01c65ea6-e5bf-22f4-cacc-6d0f6853a965@2ndquadrant.com> <1646498.1617826937@sss.pgh.pa.us> <1819824.1617858962@sss.pgh.pa.us> <20210408052759.7bmyawm4djnrux6y@alap3.anarazel.de> <20210408054626.gyz3al2j5r5kzhrt@nol> <1821917.1617861925@sss.pgh.pa.us> <20210408063320.eciql3ay52ge5flz@alap3.anarazel.de> <20210408064036.fwf2o6stviilbocf@nol> <1825656.1617865082@sss.pgh.pa.us> <20210408111936.bbrjonwadodhaswf@nol> Comments: In-reply-to Julien Rouhaud message dated "Thu, 08 Apr 2021 19:19:36 +0800" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1884373.1617898865.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Thu, 08 Apr 2021 12:21:05 -0400 Message-ID: <1884374.1617898865@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Julien Rouhaud writes: > On Thu, Apr 08, 2021 at 02:58:02AM -0400, Tom Lane wrote: >> No, because if that were the explanation then we'd be getting no >> buildfarm coverage at all for for pg_stat_statements. Which aside >> from being awful contradicts the results at coverage.postgresql.org. > Is there any chance that coverage.postgresql.org isn't backed by the bui= ldfarm > client but a plain make check-world or something like that? Hmm, I think you're right. Poking around in the log files from one of my own buildfarm animals, there's no evidence that pg_stat_statements is being tested at all. Needless to say, that's just horrid :-( I see that contrib/test_decoding also sets NO_INSTALLCHECK =3D 1, and the reason it gets tested is that the buildfarm script has a special module for that. I guess we need to clone that module, or maybe better, find a way to generalize it. There are also some src/test/modules modules that set NO_INSTALLCHECK, but apparently those do have coverage (modules-check is the step that runs their SQL tests, and then the TAP tests if any get broken out as separate buildfarm steps). regards, tom lane