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 1qYvzc-003DJ5-5W for pgsql-hackers@arkaria.postgresql.org; Wed, 23 Aug 2023 22:06:24 +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 1qYvzZ-0008KC-K7 for pgsql-hackers@arkaria.postgresql.org; Wed, 23 Aug 2023 22:06:21 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qYvzZ-0008Jy-9L for pgsql-hackers@lists.postgresql.org; Wed, 23 Aug 2023 22:06:21 +0000 Received: from out3-smtp.messagingengine.com ([66.111.4.27]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qYvzS-000bGy-7s for pgsql-hackers@postgresql.org; Wed, 23 Aug 2023 22:06:19 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id AB5D75C00F0; Wed, 23 Aug 2023 18:06:13 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Wed, 23 Aug 2023 18:06:13 -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=1692828373; x=1692914773; bh=h7 0uSerXnOVBFKj/KnXdTq6UPTyWQari6R1NJcYd9Ic=; b=XzRoI0QIARDskLWjri 382oUnnQPl9wwqtlH5gLtRZo/s+a/WSV3/q/9EcFREedxEzSpJLwPlVslzt0cxay UOqc9c69tmO9J9YAhylY8VE/CnU8K+ibHx0mk5xPFOBvmP0kwHL+zrYKH5MIwVn4 gPQ4a5JJkMEB+41IMSNZMnCpXVak2r2uTgNgQou6OVjJpdAdRhHB/TnvUMk4e2y1 PJQXNZd8tnwXHXspufABcQJQGn3k6yl+pcOkNoyVD6XMwgi2871NoBNOBAzqGwsO jl2H2SqRPao3LGjngk4UAdCK1yLo4d7CB+AhcOFTQUv/SL/DYJSlGOVnDp8bh9m0 8oiA== 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=1692828373; x=1692914773; bh=h70uSerXnOVBF Kj/KnXdTq6UPTyWQari6R1NJcYd9Ic=; b=avlbiKaR2gjuCS8TU7VoBRL4inEg3 fftpMx+VfkNcKEqp9K6VhnYn/XSlshErTZKQQtyKwkrLEaVrPHhP5ovFwIfKr3xx VsVxR8WRJDkJGrEEKnXQiOuu3r3bfiIu4sahZ1SxO9Ut47z5g+J1vjWOdmwZEfIQ SNBVHadsN4J86dyAME/dwrXW9aIYznLNz5LpQM1wQFamtBsNPqRvDMsaCf1KWgaF ZAR26hHRG958SojDxsXJLB1fJxCnVdID0nZhBgbBEEg0c7xq8Cti5B6DKgAKRFzK 4ZJXSupMBR7AXj2jl1dp8StGPz8xe9us/EIBTirTbUeTHHH0MuNeXjm+A== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedviedruddvhedgtdeiucetufdoteggodetrfdotf 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 18:06:13 -0400 (EDT) Date: Wed, 23 Aug 2023 15:06:12 -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: <20230823220612.sglm5g5oxblunst3@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> <20230823214341.stppgfnhrhmb6igf@awork3.anarazel.de> <3565659.1692827753@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3565659.1692827753@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:55:53 -0400, Tom Lane wrote: > Andres Freund writes: > > On 2023-08-23 17:02:51 -0400, Tom Lane wrote: > >> ... 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? > > The trouble with that approach is that in "make installcheck", we > don't really want to assume we know what the installed libpq's default > connection parameters are. So we don't explicitly know where that > libpq will connect. Stepping back: I don't think installcheck matters for the concrete use of libpq we're discussing - the only time we wait for server startup is the non-installcheck case. There are other potential uses for libpq in pg_regress though - I'd e.g. like to have a "monitoring" session open, which we could use to detect that the server crashed (by waiting for the FD to be become invalid). Where the connection default issue could matter more? I was wondering if we could create an unambiguous connection info, but that seems like it'd be hard to do, without creating cross version hazards. > As I said, we might be able to start treating installed-libpq-not- > compatible-with-build as a "don't do it" case. Another idea is to try > to ensure that pg_regress uses the same libpq that the psql-under-test > does; but I'm not sure how to implement that. I don't think that's likely to work, psql could use a libpq with a different soversion. We could dlopen() libpq, etc, but that seems way too complicated. What's the reason we don't force psql to come from the same build as pg_regress? Greetings, Andres Freund