Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qYv0L-0039Cm-HL for pgsql-hackers@arkaria.postgresql.org; Wed, 23 Aug 2023 21:03:05 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1qYv0I-00H7x2-Er for pgsql-hackers@arkaria.postgresql.org; Wed, 23 Aug 2023 21:03:02 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qYv0I-00H7wl-4Q for pgsql-hackers@lists.postgresql.org; Wed, 23 Aug 2023 21:03:01 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qYv0B-000dyd-EZ for pgsql-hackers@postgresql.org; Wed, 23 Aug 2023 21:03:01 +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 37NL2pO73557217; Wed, 23 Aug 2023 17:02:51 -0400 From: Tom Lane To: Daniel Gustafsson cc: Andres Freund , PostgreSQL Hackers , Thomas Munro , Justin Pryzby , Nazir Bilal Yavuz Subject: Re: Cirrus-ci is lowering free CI cycles - what to do with cfbot, etc? In-reply-to: References: <20230808021541.7lbzdefvma7qmn3w@awork3.anarazel.de> <20230823065833.vnnfwoi3n2sbw5kf@awork3.anarazel.de> <20230823192239.jxew5s3sjru63lio@awork3.anarazel.de> Comments: In-reply-to Daniel Gustafsson message dated "Wed, 23 Aug 2023 22:11:09 +0200" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <3557215.1692824571.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Wed, 23 Aug 2023 17:02:51 -0400 Message-ID: <3557216.1692824571@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Daniel Gustafsson writes: > On 23 Aug 2023, at 21:22, Andres Freund wrote: >> I think there's more effective ways to make this cheaper. The basic thi= ng >> would be to use libpq instead of forking of psql to make a connection >> check. > I had it in my head that not using libpq in pg_regress was a deliberate = choice, > but I fail to find a reference to it in the archives. I have a vague feeling that you are right about that. Perhaps the concern was that under "make installcheck", pg_regress might be using a build-tree copy of libpq rather than the one from the system under test. As long as we're just trying to ping the server, that shouldn't matter too much I think ... unless we hit problems with, say, a different default port number or socket path compiled into one copy vs. the other? That seems like it's probably a "so don't do that" case, though. regards, tom lane