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 1qlvlR-004umk-Aw for pgsql-hackers@arkaria.postgresql.org; Thu, 28 Sep 2023 18:29:29 +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 1qlvlP-00FJDw-T1 for pgsql-hackers@arkaria.postgresql.org; Thu, 28 Sep 2023 18:29:27 +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 1qlvlP-00FJDG-Hs for pgsql-hackers@lists.postgresql.org; Thu, 28 Sep 2023 18:29:27 +0000 Received: from charmander.telsasoft.com ([50.244.222.1] helo=pryzbyj2023.telsasoft) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qlvlM-0088b9-HP for pgsql-hackers@postgresql.org; Thu, 28 Sep 2023 18:29:26 +0000 Received: by pryzbyj2023.telsasoft (Postfix, from userid 1000) id 754DE111B5; Thu, 28 Sep 2023 13:29:21 -0500 (CDT) Date: Thu, 28 Sep 2023 13:29:21 -0500 From: Justin Pryzby To: Ali Akbar Cc: Michael Paquier , Amit Langote , tushar , Tom Lane , pgsql-hackers@postgresql.org, Alvaro Herrera Subject: Re: [HACKERS] pg_upgrade failed with error - ERROR: column "a" in child table must be marked NOT NULL Message-ID: References: <217ddce6-1b0f-509d-f8e0-5ddd9cad5d86@lab.ntt.co.jp> <107ccc78-1a10-ff59-e837-e5c99dc8c152@lab.ntt.co.jp> <20171214054902.GC23527@telsasoft.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Thu, Dec 14, 2017 at 07:18:59PM +0700, Ali Akbar wrote: > By the way, should i add this patch to the current commitfest? The patch for pg_upgrade --check got forgotten 6 years ago, but it's a continuing problem (we hit it again which cost an hour during pg_upgrade) and ought to be (have been) backpatched. I didn't dig into it, but maybe it'd even be possible to fix the issue with ALTER..DROP NOT NULL ... -- Justin