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 1tlrFO-002PSs-E1 for pgsql-committers@arkaria.postgresql.org; Sat, 22 Feb 2025 15:16: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 1tlrFN-00CdYL-O7 for pgsql-committers@arkaria.postgresql.org; Sat, 22 Feb 2025 15:16: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 1tlrFN-00CdUM-B9 for pgsql-committers@lists.postgresql.org; Sat, 22 Feb 2025 15:16:53 +0000 Received: from mail-qk1-x741.google.com ([2607:f8b0:4864:20::741]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1tlrFK-000AJx-0b for pgsql-committers@lists.postgresql.org; Sat, 22 Feb 2025 15:16:52 +0000 Received: by mail-qk1-x741.google.com with SMTP id af79cd13be357-7c0a159ded2so297149185a.0 for ; Sat, 22 Feb 2025 07:16:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dunslane-net.20230601.gappssmtp.com; s=20230601; t=1740237408; x=1740842208; darn=lists.postgresql.org; h=content-transfer-encoding:in-reply-to:autocrypt:content-language :from:references:cc:to:subject:user-agent:mime-version:date :message-id:from:to:cc:subject:date:message-id:reply-to; bh=K5YncKAvEJjuf0Gfo5ClvRJca9qQAuSSlsWQi5d1gVo=; b=qSEtlDUIBF+ByDoLooPx+Je2o9IDRWr7GvIPBf1CthW5bI4gMzsL3oYnkaBdSr0UxS sPf8CvzqBwDRV9hXJ3U7yTNYdH6DvrtRQKp5Kiv9AUcooaODWdPbIVpKAPPAsRrqGMxQ R/qEPG1NRkXzmJKyjJq5q3CL0msUfARYFnT0CAriBBkpBXXW0hoTU/Yrxfihlp7bbsJq rEy2zCFx5vbh2VG4QsQjlKbVKwuKUZsyagWNPb6ZNaAF0ChORDw1jtEoCxL3Rugecv0P dptlB650tEhRKvowqf9/Byr4S4ayVbTHcQMoVj+XvmBgTsPLPq4b4x2FiF+Kwz/stGJB q6fg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1740237408; x=1740842208; h=content-transfer-encoding:in-reply-to:autocrypt:content-language :from:references:cc:to:subject:user-agent:mime-version:date :message-id:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=K5YncKAvEJjuf0Gfo5ClvRJca9qQAuSSlsWQi5d1gVo=; b=KhixbDobzthsVXU6cs8CK/DEM4DHqY0q7SBTdQRcOD9njDIc+rz+Di3SAvhccL1PGX p8k0pyGAjKpTG9Y2UcFyRFr9Jc3CWsh+JxdkSUlZoN4y8B8xVhuxWKQFluO0CfvJQrQl SeWHPDTPbP/BYwhbrul2Elwea6HJFwy4mRZMyaY4+vV3hndPG+zNPHGdK/9zEsmBTTZW mfVVyCy7mzc1bcBhjfhh6Q7B8s7VUqveSHc43rhrZkXFhNS1ppyTion4l/bFbw9f2pqD 53J/pZLIwETX4Av9GaqFEGMc3jtSEaqKQLIp+zuXgmgW4CT/FQP8J0BCqCrYfkZvlSip 04xA== X-Forwarded-Encrypted: i=1; AJvYcCWBpukjdbKx+Z9zah6BsGqRcrg2VqNPPTtDX92TNKPbA0lpAwushqc5CaJ+KiMbcUqvgRuQsc6T0eaTaBUh6BCV@lists.postgresql.org X-Gm-Message-State: AOJu0Yzz6IAvlZ/UxRAxHHXvn0Wp+/MO2s7fnq2SNgpH/BHmUCJDLlLD AedOTFbrE4QiGhIvlxrCGJxOv8n5k6Q0Qxed4J3Ou6usTgBevzy/EWYMSAME0RquaQELYbB/FOd N1mxvzg== X-Gm-Gg: ASbGncuMNXRT9k0H1lClj5kjOdKTQQ43RqfDWWaIMsE4pZ+NfbM79zzI9zBNlQoOtCB TVKR4q5roER28IIOuxNLgXzod0jQjqaYPkA3JG725SsU7Va6bRx7wx9tpye5H6UZ7YAcCpEUiGz SxCKp+GIgbIs9LFvYecjYRsXcC12SPX9mBy0uUZ3tl0pIxQ1z+oKfwq31uYpE5UFQ5ucMSTg5Fi gjpvqx5kYfk/NGGtcLrUUd6MKkV1ydiWZOoMKNtKDGxFx11ofktKonkjl8/exhwpxrbj5/Tkx50 MOfpcU8EMlUQIprYOxGEw9nJ3tI9fkERZ58k X-Google-Smtp-Source: AGHT+IHFAPMdPlCBkewDyiEc2/D7ndAolno4ikkuzDLGQiTBCjqIRut687DCxINnzEtp8L1pNhx0PQ== X-Received: by 2002:a05:620a:19a8:b0:7c0:a389:f25e with SMTP id af79cd13be357-7c0ceeebf8cmr1103460885a.7.1740237408402; Sat, 22 Feb 2025 07:16:48 -0800 (PST) Received: from ?IPV6:2605:a601:a681:6b00::1cb? ([2605:a601:a681:6b00::1cb]) by smtp.googlemail.com with ESMTPSA id af79cd13be357-7c098c7ef0esm772869185a.51.2025.02.22.07.16.46 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 22 Feb 2025 07:16:47 -0800 (PST) Message-ID: <976dcc37-b629-490e-a052-a057477d062f@dunslane.net> Date: Sat, 22 Feb 2025 10:16:43 -0500 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: pgsql: Trial fix for old cross-version upgrades. To: Tom Lane , Jeff Davis Cc: Jeff Davis , pgsql-committers@lists.postgresql.org References: <003dc9936317ab987faa0242f8e33e1cd2fcaf57.camel@j-davis.com> <40c1e76334f2baa747334c8fc513d12b8cb297bf.camel@j-davis.com> <3815127.1740189601@sss.pgh.pa.us> <5ebc188e731ac2b98d68459ce1a9ef3066981774.camel@j-davis.com> <3892121.1740193866@sss.pgh.pa.us> From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F/+JkUVzLcoTN+d/7YsQvUVi7NaKH8mJgjz112O4fUe3p9wfAaFa0RXHc5S GPzRTYRRlv/XZBIho4J2tkZOnteZJZ+GbxQVlINt6fd8P6al3MWOvpP/ExJPguEfjOsO6Njy xjo3WfpD4lHMOR/Oc3/8mScEF84rF2jXbsFgelWnbPWAvXY+pD0dXOFRkagGmC/viwBDqq5b 5tk76kKmUbZxABEBAAHCwHwEGAEIACYCGwwWIQTkPlhGHfx8v0RpFaWZ+n/LWfw7gQUCZFlx 5wUJGVGAjgAKCRCZ+n/LWfw7gf+iB/4g8CPY5jihf5r/8EsoIGe2H+dpVmpPF8YGBzTIvCz/ fQoOq8AX/pE76QEuFnFZWfjw+wgBXgCVmkox2Eflkk6z4ND3pcwGZ6CfCxTQCDk/dij+2DQ4 6bmDCy/sBgcbz9mTpoLC11HLoPae6YN9nBNQRZDcEFEu54OaVOqlIdbA6m+POIBCXZdHOFc0 WoDTgxHRzC1jgQNidyd6tKqcsVJs0dzF0oKTmFFmUAqTdJO12LBuNA1rlqrR3EtpYk8B/wtS 5dIMD7Q8hwQpL+4C6GNpb6ZKnPkLi47pDOLhz2qBrqN+rqUEsT3YnExYpzj5yOBi+FlmV1Hw 49QYe1sn2ZPs In-Reply-To: <3892121.1740193866@sss.pgh.pa.us> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 2025-02-21 Fr 10:11 PM, Tom Lane wrote: > Jeff Davis writes: >> 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. > The hack I posted should prevent autovacuum from running either > before or after dumping, in either cluster. > > However, it occurred to me to try forcing a HEAD-to-HEAD upgrade, > a case the buildfarm animals have not been able to reach. > And *it failed*!? (Diffs attached.) So that eliminates the > theory that this is a cross-version compatibility problem, or > at least that is not our only problem. It seems there is > something different between what TestUpgradeXversion.pm is doing > and what 002_pg_upgrade.pl is doing. No clue what, although it > does look like an additional round of analyze'ing has added more > stats than were there before. > > Yeah, I don't know. Here's what I have so far: . for HEAD/18 disable running the analyze script / vacuumdb --analyze. . turn off autovacuum on the old and upgraded database. . reverse the order of testing so we do newest first What I'm thinking of doing is running all the eligible upgrades rather than stopping on the first failure. cheers andrew -- Andrew Dunstan EDB: https://www.enterprisedb.com