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 1kpaVT-0000ZZ-5Z for pgsql-hackers@arkaria.postgresql.org; Wed, 16 Dec 2020 17:22:31 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kpaVS-0000Ya-4Z for pgsql-hackers@arkaria.postgresql.org; Wed, 16 Dec 2020 17:22:30 +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 1kpaVR-0000YP-Hb for pgsql-hackers@lists.postgresql.org; Wed, 16 Dec 2020 17:22:29 +0000 Received: from mail-ot1-x32a.google.com ([2607:f8b0:4864:20::32a]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1kpaVO-00077z-8Q for pgsql-hackers@lists.postgresql.org; Wed, 16 Dec 2020 17:22:28 +0000 Received: by mail-ot1-x32a.google.com with SMTP id a109so23685274otc.1 for ; Wed, 16 Dec 2020 09:22:25 -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=hqTtPAmd+hYrJhhv5W0WDctLOq+fFJ+zvRbi+idbmpY=; b=N48xEejQr62/pQYwfdOoUfdpQBWuTFCocyHhshZI2FlrqHRNLNkUhfAqpJp0xPybRa w5UY2sgqGmL3NtdJp3fFeBnORSgQYegTWUVF7r9fL2VPkBsFqyqJTRy87/kOBMY15qG5 WwMreEnxIWiFPO2ZaDQkDwIlnFikon+FAAAM6U+fKeCpWUaXzFhHnOdC/NK0YVwaYHXc vAXvdNE4AdDnfJoTkvvl1ry0kP5iVTpDYcwdi82BQU75ft9kbkzMq9Csdz8eGNfCr50q f2ANhwxsLokPWNX/hCqOjZsy8ikAMXbD9a3tc0XpDYIJZq2cPdyp5mdnt9OodxuKQCvZ 28IA== 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=hqTtPAmd+hYrJhhv5W0WDctLOq+fFJ+zvRbi+idbmpY=; b=FRgfSL51Tf23wKEdoSwRKzRDaPXVQe1uSf6RuHRkVRULAONd6Od+ijVn6RDm28sQib uF/uzLENK4ZIxfeUe4S/5vioMNUPEtVTXVKxEIsTK2Wzm7j6btS7lA4qtuC2lJRc+ctW l+EY/hTRax8vg98EvU0VC5wxw/KYlbpWvTVLTgRtY7gt9uCEGHRzj5PQ5+0kCmVm2nl+ GSAGTtA1dUYjRIpC5cLVta6VvCdQpjvGo0dBDWflZGJAHiCfxNo65/EHBadvikSxoRRq CIR64Pabfw/tRrUyI5peMI7/e41h9t8v0CQR4IE8Dmd748/D9xVtg+KKWeOnsB5vZqMX 6n9Q== X-Gm-Message-State: AOAM530l7Oyd2hWgpQXSn653+V/hp6W92wqS7HyPy+ZmA2h2F3hUme35 vsECZ5W7O+2CCmtfnS1q3DFtUkVFH1va08z6 X-Google-Smtp-Source: ABdhPJyuDo8dT44QMLpb5Ch++85qEpXoL1lTj+/8ucCFZQ6rVNTyjz79fQd7pChmD42NaREJlO7JHQ== X-Received: by 2002:a05:6830:1501:: with SMTP id k1mr27419917otp.12.1608139345174; Wed, 16 Dec 2020 09:22:25 -0800 (PST) Received: from pryzbyj.telsasoft (charmander.telsasoft.com. [50.244.222.1]) by smtp.gmail.com with ESMTPSA id k3sm617135oor.19.2020.12.16.09.22.23 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 16 Dec 2020 09:22:24 -0800 (PST) Received: by pryzbyj.telsasoft (Postfix, from userid 1000) id 307BD80077E; Wed, 16 Dec 2020 11:22:23 -0600 (CST) Date: Wed, 16 Dec 2020 11:22:23 -0600 From: Justin Pryzby To: Tomas Vondra Cc: Tom Lane , Andres Freund , buschmann@nidsa.net, pgsql-hackers@lists.postgresql.org Subject: Re: pg_upgrade test for binary compatibility of core data types Message-ID: <20201216172222.GS30237@telsasoft.com> References: <20191010204022.6hiiubm2cueu3ghk@development> <20191013001032.lqrn4kqaovhrf77l@development> <17717.1570991208@sss.pgh.pa.us> <20191013203848.2eksimmpux3546wr@development> <27596.1571062600@sss.pgh.pa.us> <20191014163538.cqn6j4cl7s2mk2yz@development> <20191015001817.zei45apgpu5dzngr@development> <20191015044118.GO3599@telsasoft.com> <20191015070725.csmdmdvrlb6klwkg@development> <20201206180248.GI24052@telsasoft.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="h56sxpGKRmy85csR" Content-Disposition: inline In-Reply-To: <20201206180248.GI24052@telsasoft.com> User-Agent: Mutt/1.9.4 (2018-02-28) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --h56sxpGKRmy85csR Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Sun, Dec 06, 2020 at 12:02:48PM -0600, Justin Pryzby wrote: > I meant to notice if the binary format is accidentally changed again, which was > what happened here: > 7c15cef86 Base information_schema.sql_identifier domain on name, not varchar. > > I added a table to the regression tests so it's processed by pg_upgrade tests, > run like: > > | time make -C src/bin/pg_upgrade check oldsrc=`pwd`/11 oldbindir=`pwd`/11/tmp_install/usr/local/pgsql/bin Per cfbot, this avoids testing ::xml (support for which may not be enabled) And also now tests oid types. I think the per-version hacks should be grouped by logical change, rather than by version. Which I've started doing here. -- Justin --h56sxpGKRmy85csR Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="v2-0001-WIP-pg_upgrade-test.sh-changes-needed-to-allow-te.patch"