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 1rSWVf-00EGeD-96 for pgsql-bugs@arkaria.postgresql.org; Wed, 24 Jan 2024 06:13:16 +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 1rSWVe-002Ohv-CV for pgsql-bugs@arkaria.postgresql.org; Wed, 24 Jan 2024 06:13:14 +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 1rSWVc-002Ohm-8O for pgsql-bugs@lists.postgresql.org; Wed, 24 Jan 2024 06:13:14 +0000 Received: from out1-smtp.messagingengine.com ([66.111.4.25]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rSWVY-00356T-EY for pgsql-bugs@lists.postgresql.org; Wed, 24 Jan 2024 06:13:10 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 29AF55C00CA; Wed, 24 Jan 2024 01:13:07 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Wed, 24 Jan 2024 01:13:07 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; h= cc:cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm3; t=1706076787; x=1706163187; bh=9e1olBWgnM EutPLBq2iTLzvctp7bsjeRKfA22XnsrlI=; b=gGvFLaniZfsUkC3y6Y7u1mZfGY M2ui9UNRRVQhcMS+iQFypil0dqGJVOpzsZQGke6KEt+ck/4RpALfm5Mf35MfZAHa BqH3oWePVVARBOJUbYxv3GqMXQGSKnDLaX2C8hd4+MswjHnouyBzyrxBfcceo92I p6iVvCBaXSqf32VQXSDVAp/V2PTMvvfchVLwlFZLVwM6j34hHYneiSHs0bJ/TOmc wBKO6DTFcOM+tInOA4o55BUUgjjRVyUiFoC4xV9MTIS5/rMyYg/ZNJ+ETLZsQ94X WtP5+E/sIApuOSbZAoZ3101/IAb1nrz4V+yEM5bCtsmn4HHXdz5mHkd0Dzjw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm3; t=1706076787; x=1706163187; bh=9e1olBWgnMEutPLBq2iTLzvctp7b sjeRKfA22XnsrlI=; b=xYtDz4ZoqOTgXChei4U+bwJCe2Aeq2RyXq87A9JtcAXv GoUQk5R5I9FhyNhWAEn1aHup4EO8LeDVgAlKXnKsn4Ahm5A8Q+iRgVg1aWP4BEQa 63vbDpoLK0aQLCUsk+FZ9FkDiZycnByOlsFDbGay3lZ5jcF2bUo3ykZutDFR8Xzr YlpWWxB3ukGZldc6wa7kU8g8bQ7CqGUDdam+w6xcoeqFw9Qj10g9xfL9u1vihn6h TNkqqmW7LIZr9MHgwmK4gJY5xfg1SptXtMFUQGojyzMUXyLLBBSJ+i32rCASvwAf +Sa3CUMwd7+PH0CpvWaZ02WJINYxpxOnjpwrKohXCg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrvdeltddgheelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne gfrhhlucfvnfffucdljedtmdenucfjughrpeffhffvvefukfhfgggtuggjsehgtderredt tddvnecuhfhrohhmpefoihgthhgrvghlucfrrghquhhivghruceomhhitghhrggvlhesph grqhhuihgvrhdrgiihiieqnecuggftrfgrthhtvghrnhepteelieefudffhffhtdetleeg geegfffhkeeuveetiefgudduvedutefggeeivdejnecuvehluhhsthgvrhfuihiivgeptd enucfrrghrrghmpehmrghilhhfrhhomhepmhhitghhrggvlhesphgrqhhuihgvrhdrgiih ii X-ME-Proxy: Feedback-ID: i0fe9450f:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 24 Jan 2024 01:13:05 -0500 (EST) Date: Wed, 24 Jan 2024 15:12:53 +0900 From: Michael Paquier To: Alexander Lakhin Cc: Tender Wang , Richard Guo , pgsql-bugs@lists.postgresql.org Subject: Re: BUG #18297: Error when adding a column to a parent table with complex inheritance Message-ID: References: <18297-b04cd83a55b51e35@postgresql.org> <38de09cc-70f3-28ee-fe67-ae13cba23e61@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="yX8KJ+p/kEJ4A6Yq" Content-Disposition: inline In-Reply-To: <38de09cc-70f3-28ee-fe67-ae13cba23e61@gmail.com> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --yX8KJ+p/kEJ4A6Yq Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jan 18, 2024 at 12:00:01PM +0300, Alexander Lakhin wrote: > Thank you for working on this! Yep, this one is obviously wrong so I have applied and backpatched the fix for tablecmds.c. =20 > (Maybe it's possible to slightly modify an existing hierarchy with tables > a, b, c in inherit.sql for the purpose of the check added.) I was wondering about that, but decided to keep a separate test as suggested as the other tests with inheritance are already tightly linked to their own assumptions, mostly with renames and constraints. -- Michael --yX8KJ+p/kEJ4A6Yq Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAmWwqmUACgkQnvQgOdby QH030Q//XoLDgCy0IS1QgyFSAqOPzghdCY0SFWChSmwRQh6ymFrAkvJjPRbJ4fxg TV4fw13jkDdq4hdAhvxPYTogcdn2TWvykjUkUTxRtgZ5ryyZP4tX5hx5GZ31bC77 16zUljWzXGy7vg46c5SHguPsNo8rwMdcBT9OKubCmPyQ15vWGd624UF3dsg5j/7K Ld7nbs+gvRNEjPoDN+VPgfDK6j8DwMj/VpgWsH5RZl2uy30b2EIgMj0Va1Pn9yBn f7e3oo918LKXQ8FmhhZkbdL9RzufNpZbo/eIa2GL+lFs8e8KsSPJG+9IxCP+KGb1 4DEXDxGPf97xfLftX3agvaFJAP/QSKbZw0MmQJbc6Q65hDcrj1EIRNfuy75XjPhd ku4B7opmEmd5jcgMTAqgiWsUjuod0SLAYdzcu4VL7AnaGbI1PcA7dt2L85LimYVk XMVbJNdjiGRV4W7ggJFqezsWyeBopUOSlfQ7Eewo3EJdSIXyh4igLaf5BdHcoxbP HG/gDyqiL4rPfxBOlJxOieW/zXzsQPUkz3vyKmMY12Gju2NtBtZioLttKKnzkBXA AMac8WxwfSzmV9OcWehs1+Oo+Id3hDCUhZlbrWTlQkGtCQ0GwhqN/CmYU688F2mQ us4cfX/Cg1zlJWisjaeh4NOrxGUXuQE2TXWVbYiugrgnoa9dLoc= =5STM -----END PGP SIGNATURE----- --yX8KJ+p/kEJ4A6Yq--