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 1tuZER-009qyb-AQ for pgsql-hackers@arkaria.postgresql.org; Tue, 18 Mar 2025 15:51:55 +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 1tuZEP-00HPbj-9I for pgsql-hackers@arkaria.postgresql.org; Tue, 18 Mar 2025 15:51:53 +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 1tuZEO-00HPba-TT for pgsql-hackers@lists.postgresql.org; Tue, 18 Mar 2025 15:51:52 +0000 Received: from fhigh-b3-smtp.messagingengine.com ([202.12.124.154]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1tuZEK-003ah7-2d for pgsql-hackers@postgresql.org; Tue, 18 Mar 2025 15:51:52 +0000 Received: from phl-compute-06.internal (phl-compute-06.phl.internal [10.202.2.46]) by mailfhigh.stl.internal (Postfix) with ESMTP id D5950254016F; Tue, 18 Mar 2025 11:51:47 -0400 (EDT) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-06.internal (MEProxy); Tue, 18 Mar 2025 11:51:48 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :reply-to:subject:subject:to:to:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm1; t=1742313107; x=1742399507; bh=K Z8pMovnE38OvpFGlYchY+wPZImBWFwiRrwfOM+juNI=; b=JuRx7hINuINPmdZo7 l2XwV96akhmkaOIglwT7zJI48jzLHgPBeHWIoWuqAS4Qbfu5SNMez9LcTUXv0K+G ASfCTG0lZVa/5ozQ43YApNKqH2iUovg7WkXbTLrNp5havE2s9VOkOPPH3WGqQWd7 ld3ZOXFW2ZFXlsbacORvDMYz27WbQQcj1/mjK/4nYx7HdKyyOF8qiZi2pGMXsLoG o8JU5yrtqEPx1HDyBIawMhpcsgsMzNzrDovco40IYRejLxaB8d77+oRPu81o5YhA LLKw6Cq6anRvpKTUecs4LSl0CdJCoey7xrc9d/6KLEglPfaEDJOhOSG3wJnNHJ2W RTi+A== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgddugedvkeegucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggv pdfurfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpih gvnhhtshculddquddttddmnecujfgurhepfffhvfevuffkgggtugfgjgesthekredttddt jeenucfhrhhomheplmhlvhgrrhhoucfjvghrrhgvrhgruceorghlvhhhvghrrhgvsegrlh hvhhdrnhhoqdhiphdrohhrgheqnecuggftrfgrthhtvghrnhepvdehueffhefgueekueef heehgffhuefgfedukeejveduffegffekgeffffevgeehnecuffhomhgrihhnpegvnhhtvg hrphhrihhsvggusgdrtghomhenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhep mhgrihhlfhhrohhmpegrlhhvhhgvrhhrvgesrghlvhhhrdhnohdqihhprdhorhhgpdhnsg gprhgtphhtthhopeehpdhmohguvgepshhmthhpohhuthdprhgtphhtthhopehhthgrmhhf ihgushesghhmrghilhdrtghomhdprhgtphhtthhopehnrghthhgrnhgusghoshhsrghrth esghhmrghilhdrtghomhdprhgtphhtthhopehrohgsvghrthhmhhgrrghssehgmhgrihhl rdgtohhmpdhrtghpthhtohepsghruhgtvgesmhhomhhjihgrnhdruhhspdhrtghpthhtoh epphhgshhqlhdqhhgrtghkvghrshesphhoshhtghhrvghsqhhlrdhorhhg X-ME-Proxy: Feedback-ID: ia2694551:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 18 Mar 2025 11:51:46 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alvh.no-ip.org; s=schmee; t=1742313103; bh=Y+5tLtdH33Clxht+gOrYm5RHcZ8ZTKhMCxhDfxMBvk8=; h=Date:From:To:Cc:Subject:In-Reply-To:From; b=CyVhLUzb2cggOaRFCtvOLnqR4jHkC0/qj4hZN5GRXeT/4dN2s7d00b+VHE8Uqrmbl /+WSw4eHrX0ykI5451ol3cpjaicjQxRB0rk4rsSlKHRy5Lu4FnIhg5Zh8H+VzetVse +hp1XkTFGMCKpzDiCim9Hu8Wld2LlMXlT7yzxuhSeyOrKOllmZ1qUe+t1bplCv0NKm u+P/mH4p0q5aTLA4P3t62FNvvSMZZceQSLdalM+iOrzqbnEJw2GaqaAv2YqxXD5cuD lIWOIhvFl2aQMHPrCV2VJQ6JimxslahLVGxqqhr6yxHiLKgfviY1F4owBV0ag0Ajav tFvwpMK7x9Zsw== Received: by schmee.alvh.no-ip.org (Postfix, from userid 1000) id D76D387; Tue, 18 Mar 2025 16:51:43 +0100 (CET) Date: Tue, 18 Mar 2025 16:51:43 +0100 From: =?utf-8?Q?=C3=81lvaro?= Herrera To: Robert Haas Cc: Nathan Bossart , Greg Sabino Mullane , pgsql-hackers@postgresql.org, bruce@momjian.us Subject: Re: optimize file transfer in pg_upgrade Message-ID: <202503181551.o7xbymypshbe@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 2025-Mar-18, Robert Haas wrote: > The background here is that I'm kind of on the warpath against weird > configurations that we only test on certain buildfarm animals at the > moment, because the result of that is that CI is clean and then the > buildfarm turns red when you commit. That's an unenjoyable experience > for the committer and for everyone who looks at the buildfarm results. > The way to fix it is to stop relying on "rerun all the tests with this > weird mode flag" and rely more on tests that are designed to test that > specific flag and, ideally, that get run by in local testing or at > least by CI. FWIW this is exactly the rationale that got me writing an email on the Ashutosh's thread for a new pg_dump/restore test under 002_pg_upgrade.pl, whereby I was saying that we should not hide it behind PG_TEST_EXTRA which almost nobody would remember to use. But I discarded that draft, because that had actually been Ashutosh's idea at some point in the thread and had been discarded because of the runtime increase it'd cause. But, somehow, I still don't believe the theory that it's such a bad idea to add a few seconds so that we have such a comprehensive pg_dump test, with much less programmer overhead than pg_dump's own weird enormous test script. -- Álvaro Herrera 48°01'N 7°57'E — https://www.EnterpriseDB.com/ "Cada quien es cada cual y baja las escaleras como quiere" (JMSerrat)