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 1tlfZR-00127w-Nd for pgsql-committers@arkaria.postgresql.org; Sat, 22 Feb 2025 02:48:50 +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 1tlfZQ-003Zoq-A6 for pgsql-committers@arkaria.postgresql.org; Sat, 22 Feb 2025 02:48:48 +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 1tlfZP-003Zfm-U9 for pgsql-committers@lists.postgresql.org; Sat, 22 Feb 2025 02:48:48 +0000 Received: from mail-pl1-x62a.google.com ([2607:f8b0:4864:20::62a]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1tlfZK-0004Pu-1r for pgsql-committers@lists.postgresql.org; Sat, 22 Feb 2025 02:48:44 +0000 Received: by mail-pl1-x62a.google.com with SMTP id d9443c01a7336-220dc3831e3so60627735ad.0 for ; Fri, 21 Feb 2025 18:48:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=j-davis-com.20230601.gappssmtp.com; s=20230601; t=1740192523; x=1740797323; darn=lists.postgresql.org; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:from:to:cc:subject :date:message-id:reply-to; bh=d11+7likceqlyWRBGAoMGro9WPBP3lvxa+40qywVjwQ=; b=XudjrGSkrOsZRCWoItKOJqbx9VajtidU8pYYthq5NrUK0oXC2lAOeFq0IQBoHYwSCJ nJ9CkuTukHzg4v75uAmMtmqSw8ubTMPeNoqi64EAAhxUPiWg/I+hgDAzzJ0WQI9s1pUo /k1iICCVuvDf8kc98NyBbtoe1gCsv3c/jR7SirlMZLiwRnrcAuXwJFiq8u3oc9WGWV2S HnDq67tu8UrCdG7lI5Ig6IRWJ6LdlOpZnDUUbk4p+GXbJUEedk33go78qSVDroc81yTl WwUjKNLlseTPnqvZTYyxZ4I15zA23KUvwiX0CySaV+hySHUckdJIEzUjn0apIxaDzmY9 A24g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1740192523; x=1740797323; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=d11+7likceqlyWRBGAoMGro9WPBP3lvxa+40qywVjwQ=; b=nCM9bjHdft+SGCXlE2BzGpBEUXx1c9IYNwSnURM8g0+y5OhfFTS1c8/VPD8EOyVEfj AsLF7dv2ryTMlzFlRf0YeaBXhUFpxaTCydtI1dVXuseUKeab4mqrvooKObtTPQDkyOR8 vdS+c1ySVcI4xx/t4JlZrEkaYvIgbiG10rhFDjHfh/6aDmuwJQ2OecpsJh63pwt81Rvg f8sSFFe920eDYG0vWjFmpipskZq4BBNROi/SEFeADU7JpKdonX4oFk43iyvYsVO1yYmj TLr1m73EH5A8IMyjzF3aCt+G9MQH0JIdY4JiEbthS1bNZZ5KYIrVvUaHCxIGMQI1b0jx fIfA== X-Forwarded-Encrypted: i=1; AJvYcCVP4Yb0k0k0vRisAR/GWebwnun7cGoJ23oHaSrp+xgyH8YDrSVTkyggHMHG6324wVIc2dL7t/LKIui17fHmyVYq@lists.postgresql.org X-Gm-Message-State: AOJu0YxEhbta61SS0OdaUtY8YxYKmhWg9/2AIWuxRJfHDwyHd7Ut7lV8 3Lo3jFPF9SmZobtk6sKPW7vGU+fdaGCrUdIXGNgDcaruAyFcVMsZhpDfiLk3Ng== X-Gm-Gg: ASbGncsXz61PVSx8SP2BKBkXS4e3qVyS+DnrytbDpVz9+jSvsOA6C+WumcxBy5j07Xj b4ers7qOhwdMr7YkIfBUo1uplgMIZqy0TFoyPCRPxFGLa6qONyWEh9hizDhrGHiG1EeSqV1K7e1 d8UAoQ+6u4VcoBw8cwXHrnJobdUXWH85wmtvcRAuWZmgQBc32RMoYAxlQLKmkJGjJxof2IC0ajD iFItD3/S7wspgks3LCFWLrt7AiBEYzuBQ3MXFLR0ZA3VplEvAV62tHI5HsX4fwBSma08Q612Yin 6LgxzqgisjUseezYkaPhsAwFQF5keZ/BkMT4OvgRH5F+PYkb8I6KZ8sMocZeTZgHC/Zw X-Google-Smtp-Source: AGHT+IElg/4F3wJWuDXGJWB/X2TIUcwpRJP9QWeyi3zjAxtpY5RHeTnGkdvKm+sNEolbI0ZXjWbnPA== X-Received: by 2002:a05:6a21:6d88:b0:1e1:a789:1b4d with SMTP id adf61e73a8af0-1eef3d9f0cfmr9004141637.15.1740192522652; Fri, 21 Feb 2025 18:48:42 -0800 (PST) Received: from jeff-laptop.lan (c-76-102-242-158.hsd1.ca.comcast.net. [76.102.242.158]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-732761db15asm10964056b3a.83.2025.02.21.18.48.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Feb 2025 18:48:42 -0800 (PST) Message-ID: <5ebc188e731ac2b98d68459ce1a9ef3066981774.camel@j-davis.com> Subject: Re: pgsql: Trial fix for old cross-version upgrades. From: Jeff Davis To: Tom Lane Cc: Jeff Davis , Andrew Dunstan , pgsql-committers@lists.postgresql.org Date: Fri, 21 Feb 2025 18:48:40 -0800 In-Reply-To: <3815127.1740189601@sss.pgh.pa.us> References: <003dc9936317ab987faa0242f8e33e1cd2fcaf57.camel@j-davis.com> <40c1e76334f2baa747334c8fc513d12b8cb297bf.camel@j-davis.com> <3815127.1740189601@sss.pgh.pa.us> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.44.4-0ubuntu2 MIME-Version: 1.0 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Fri, 2025-02-21 at 21:00 -0500, Tom Lane wrote: > I think we might indeed want that, but it doesn't seem to be the > explanation for the buildfarm failures, because the diffs look > to be consistent across runs which you'd not expect from > autovacuum-driven changes.=C2=A0 I suspect that the problem is that > pg_dump is interpreting old-version stats in some way that doesn't > match up with what we get from restoring the dump. I agree it doesn't explain the failures. > I did experiment with the attached very-quick-n-dirty patch, which > should succeed in suppressing autovacuum in both the old and new > versions if I understand the code correctly (which I might well not). > It made no difference at all in the dump diffs ... In 002_pg_upgrade.pl, I disabled autovacuum and restarted after the regression run. In other words, in the old cluster, autovacuum did have a chance to run, just not after the first dumpall. Regards, Jeff Davis