Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kzNSd-0001LK-P5 for pgsql-hackers@arkaria.postgresql.org; Tue, 12 Jan 2021 17:28:04 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kzNSc-0002eZ-GJ for pgsql-hackers@arkaria.postgresql.org; Tue, 12 Jan 2021 17:28:02 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kzNSc-0002c6-5U for pgsql-hackers@lists.postgresql.org; Tue, 12 Jan 2021 17:28:02 +0000 Received: from mail-io1-xd2e.google.com ([2607:f8b0:4864:20::d2e]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1kzNSY-0001pc-7k for pgsql-hackers@lists.postgresql.org; Tue, 12 Jan 2021 17:28:00 +0000 Received: by mail-io1-xd2e.google.com with SMTP id q1so5685895ion.8 for ; Tue, 12 Jan 2021 09:27:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telsasoft-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=hopLIIMD+JwhPuZeVzxEw4z0zxbNtyzzXtnmjDLekEI=; b=eM6mrBbeCcYnoXZkm6CCnyE9E3EuqgH31Ps7aXp9VVkjGFW7gnZ0amgJrFAp1NrFB2 aveDNV+oK7K4nF1uaFh58vwYP3mRqxz6BmLF1DSdeOSePs/VNDT5kV+uXT5lH9yUL4aQ gmsmDztPgkZKlqliH0be9qiCrYo1s89mJwv1WY2Z0uxQBzM9pzEBts4noL6cA2wwNtFh CZh+4Uvz2IAgZXqWnwweEyR1oL4gxpdR4Wq5xAO/D4Nw467jL+1PAN2PBGwVpvJG70lU GDrQjg5IEXMF+gCDQnGtQk+HSjuu8RnrUXdwpROv/SXN2/su6tyF7ojWT0Hf9viC25We +OaA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=hopLIIMD+JwhPuZeVzxEw4z0zxbNtyzzXtnmjDLekEI=; b=K025AGZg2nyQ+Wkp4LMW4pFgLaEDJXCC6mBkKR2Lk5lxxHls6/cLH2xC+F6eAC4vVx aXz9p3zYGDE6bWyu//IGkakm+DyPDSzSOwe0KY2KlaomrSHldNW9Io5Ty532OuWQUxsm 7enYWcEa7FFkS2M0zxvsx5WYPqe5QgwQo4ywelzxykcRJFSeJ/lsiGxZVn39KmXHCAKi V7uUra3b2M0EVON/XclKVJ2IGcTZZjgCfmZFNKSwxR1QGqS91QzQSTUavDuVoyGIGDJ6 JX4+W6zgPhSL5xl0T6SUxzWN1R80CKM2++9gO8+eqjC04t2v92xkcnh/XUv+CJh99fcv RCkw== X-Gm-Message-State: AOAM531zZTuibqkZzJcOKqt9wW5+/haFd3ACb4pDQuuEFPRC132ChTNR +LHayiY9b90bDndy1HGxyEYMWA== X-Google-Smtp-Source: ABdhPJyBjZl35xfdpnkJ0hM84qu6N2Ja8mabgA4rkYsCsam0dxTbT7gBYIZyLshP7xSZTgGh9+JKcQ== X-Received: by 2002:a92:d44e:: with SMTP id r14mr4883587ilm.299.1610472477052; Tue, 12 Jan 2021 09:27:57 -0800 (PST) Received: from pryzbyj.telsasoft (charmander.telsasoft.com. [50.244.222.1]) by smtp.gmail.com with ESMTPSA id b13sm3016844ils.54.2021.01.12.09.27.55 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 12 Jan 2021 09:27:56 -0800 (PST) Received: by pryzbyj.telsasoft (Postfix, from userid 1000) id A635B800A3C; Tue, 12 Jan 2021 11:27:53 -0600 (CST) Date: Tue, 12 Jan 2021 11:27:53 -0600 From: Justin Pryzby To: Bruce Momjian Cc: Peter Eisentraut , Tomas Vondra , Tom Lane , Andres Freund , buschmann@nidsa.net, pgsql-hackers@lists.postgresql.org, Noah Misch Subject: Re: pg_upgrade test for binary compatibility of core data types Message-ID: <20210112172753.GC1849@telsasoft.com> References: <20191014163538.cqn6j4cl7s2mk2yz@development> <20191015001817.zei45apgpu5dzngr@development> <20191015044118.GO3599@telsasoft.com> <20191015070725.csmdmdvrlb6klwkg@development> <20201206180248.GI24052@telsasoft.com> <20201216172222.GS30237@telsasoft.com> <20201227190729.GB26311@telsasoft.com> <20210112041352.GY1849@telsasoft.com> <20210112171559.GO4320@momjian.us> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210112171559.GO4320@momjian.us> User-Agent: Mutt/1.9.4 (2018-02-28) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On Tue, Jan 12, 2021 at 12:15:59PM -0500, Bruce Momjian wrote: > On Mon, Jan 11, 2021 at 10:13:52PM -0600, Justin Pryzby wrote: > > On Mon, Jan 11, 2021 at 03:28:08PM +0100, Peter Eisentraut wrote: > > > I think these patches could use some in-place documentation of what they are > > > trying to achieve and how they do it. The required information is spread > > > over a lengthy thread. No one wants to read that. Add commit messages to > > > the patches. > > > > 0001 patch fixes pg_upgrade/test.sh, which was disfunctional. > > Portions of the first patch were independently handled by commits 52202bb39, > > fa744697c, 091866724. So this is rebased on those. > > I guess updating this script should be a part of a beta-checklist somewhere, > > since I guess nobody will want to backpatch changes for testing older releases. > > Uh, what exactly is missing from the beta checklist? I read the patch > and commit message but don't understand it. Did you try to use test.sh to upgrade from a prior release ? Evidently it's frequently forgotten, as evidenced by all the "deferred maintenance" I had to do to allow testing the main patch (currently 0003). See also: commit 5bab1985dfc25eecf4b098145789955c0b246160 Author: Tom Lane Date: Thu Jun 8 13:48:27 2017 -0400 Fix bit-rot in pg_upgrade's test.sh, and improve documentation. Doing a cross-version upgrade test with test.sh evidently hasn't been tested since circa 9.2, because the script lacked case branches for old-version servers newer than 9.1. Future-proof that a bit, and clean up breakage induced by our recent drop of V0 function call protocol (namely that oldstyle_length() isn't in the regression suite anymore). -- Justin