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 1nMzk0-0005YU-Kg for pgsql-hackers@arkaria.postgresql.org; Wed, 23 Feb 2022 22:04:08 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1nMzjz-0007xi-3P for pgsql-hackers@arkaria.postgresql.org; Wed, 23 Feb 2022 22:04:07 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nMzjy-0007xY-QW for pgsql-hackers@lists.postgresql.org; Wed, 23 Feb 2022 22:04:06 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nMzju-0001Ur-1w for pgsql-hackers@postgresql.org; Wed, 23 Feb 2022 22:04:06 +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 21NM3uNA1257143; Wed, 23 Feb 2022 17:03:56 -0500 From: Tom Lane To: Alvaro Herrera cc: Andres Freund , Andrew Dunstan , pgsql-hackers@postgresql.org Subject: Re: convert libpq uri-regress tests to tap test In-reply-to: <202202232146.xkrt7kmtbwde@alvherre.pgsql> References: <202202232146.xkrt7kmtbwde@alvherre.pgsql> Comments: In-reply-to Alvaro Herrera message dated "Wed, 23 Feb 2022 18:46:34 -0300" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1257141.1645653836.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Wed, 23 Feb 2022 17:03:56 -0500 Message-ID: <1257142.1645653836@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Alvaro Herrera writes: > On 2022-Feb-23, Andres Freund wrote: >> Separately: I don't really understand why we do the whole if USE_PGXS d= ance in >> src/test/modules? > Yeah, it seems a bit silly. I'm not opposed to making these makefiles > unconditionally do the PGXS thing -- or the non-PGXS thing, if that > makes it easier to build multiple binaries. Agreed, we could easily lose that. I think we only do it in contrib to serve as an example of how to use PGXS ... although considering we're not *testing* that build mode, one wonders how much that proves. In any case, src/test/modules doesn't have to do it. regards, tom lane