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 1qYvds-003BkX-ON for pgsql-hackers@arkaria.postgresql.org; Wed, 23 Aug 2023 21:43:57 +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 1qYvdq-00HU6D-DH for pgsql-hackers@arkaria.postgresql.org; Wed, 23 Aug 2023 21:43:54 +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 1qYvdo-00HU5l-V4 for pgsql-hackers@lists.postgresql.org; Wed, 23 Aug 2023 21:43:53 +0000 Received: from out3-smtp.messagingengine.com ([66.111.4.27]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qYvdk-000eGf-Ha for pgsql-hackers@postgresql.org; Wed, 23 Aug 2023 21:43:51 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id CBCA75C01DB; Wed, 23 Aug 2023 17:43:44 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Wed, 23 Aug 2023 17:43:44 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=anarazel.de; h= cc:cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to; s=fm1; t=1692827024; x=1692913424; bh=RH mkhaAoF4bKjq7cLpQjnz2412LBH8XgYb20Itkv72M=; b=WyTpvba7qY6w7TB6Y+ SMu+KMjvXr4JteHJCOuP293dPSPALp9K1sluDxtJaQz/soT3+fumW5rDYXY0K6zL Eb7Ya1VCgfnbjqQgVHZWTR72wY3w4PemjzCaJlbYAPfDWCXlY0S3Nfw5CrL6YWr6 EKQZwSc/WebI5ncSHaAPVJwC1yf+rxnOJkWN5ynAQFtr/EZgJ1rgPVNpTn9xXxyl EdiEO4HCM+w2HYOHpXOgNregMFtoBN7eircb2WxoeafP76Hb9a4NrvNV6SZ1RJiy u5C3EqoUunMc2T1NQRWDpENcFPzjOrTPRXEHhTs3utiv0jZlel/870GAa6KvhyuQ uZGw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; t=1692827024; x=1692913424; bh=RHmkhaAoF4bKj q7cLpQjnz2412LBH8XgYb20Itkv72M=; b=ADaeTIv/hJkwzZn++RojG9OBwHezU Wd1y6btqgWPUSh2R0hVSHeextYaQgg/EdizRGUWUsd/VRQ2jz0wUqTiZahkH3T1A QiC5dsg4EJsRSydw6OlGMdR9b79Y9XoJtFoo5So9r4ttFzKNRDt/B3vg9Zefdjce du/m01P67D9p8nU/yLQSveAbvrSP+Uj2ckXltFa4EEIXjptAbTYeUaw2MUcojW9f zWN51BIomGT+PmW3v7frMj2iqLlFfwqfMLuEI00BH+Ss8xISo5ku0b30zphTeQ2w dLUViHpgK6OZ6d5KFesxJydxdcRrfBCEuIcqYZke5kJJTlQVFgm1c+DaA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedviedruddvhedgtdduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvfevuffkfhggtggujgesthdtredttddtvdenucfhrhhomheptehnughr vghsucfhrhgvuhhnugcuoegrnhgurhgvshesrghnrghrrgiivghlrdguvgeqnecuggftrf grthhtvghrnhepvdfffeevhfetveffgeeiteefhfdtvdffjeevhfeuteegleduheetvedu ieettddunecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomh eprghnughrvghssegrnhgrrhgriigvlhdruggv X-ME-Proxy: Feedback-ID: id4a34324:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 23 Aug 2023 17:43:43 -0400 (EDT) Date: Wed, 23 Aug 2023 14:43:41 -0700 From: Andres Freund To: Tom Lane Cc: Daniel Gustafsson , PostgreSQL Hackers , Thomas Munro , Justin Pryzby , Nazir Bilal Yavuz Subject: Re: Cirrus-ci is lowering free CI cycles - what to do with cfbot, etc? Message-ID: <20230823214341.stppgfnhrhmb6igf@awork3.anarazel.de> References: <20230808021541.7lbzdefvma7qmn3w@awork3.anarazel.de> <20230823065833.vnnfwoi3n2sbw5kf@awork3.anarazel.de> <20230823192239.jxew5s3sjru63lio@awork3.anarazel.de> <3557216.1692824571@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3557216.1692824571@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Hi, On 2023-08-23 17:02:51 -0400, Tom Lane wrote: > 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 thing > >> 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 Or perhaps the opposite? That an installcheck pg_regress run might use the system libpq, which doesn't have the symbols, or such? Either way, with a function like PQping(), which existing in well beyond the supported branches, that shouldn't be an issue? > ... 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. If we were to find such a case, it seems we could just add whatever missing parameter to the connection string? I think we would likely already hit such problems though, the psql started by an installcheck pg_regress might use the system libpq, I think? Greetings, Andres Freund