Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hDMFA-0007kU-Ph for pgsql-bugs@arkaria.postgresql.org; Mon, 08 Apr 2019 04:50:53 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hDMF9-0005Zy-E1 for pgsql-bugs@arkaria.postgresql.org; Mon, 08 Apr 2019 04:50:51 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hDMF8-0005Zd-8P for pgsql-bugs@lists.postgresql.org; Mon, 08 Apr 2019 04:50:51 +0000 Received: from [64.147.123.20] (helo=wout4-smtp.messagingengine.com) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hDMF5-00036q-GK for pgsql-bugs@lists.postgresql.org; Mon, 08 Apr 2019 04:50:49 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id D17952E4; Mon, 8 Apr 2019 00:50:25 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Mon, 08 Apr 2019 00:50:26 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm1; bh=lHGLSn19+lPptNIEdzWvVYouhLn BBe+Rvt9O8KQVzHg=; b=HX/EMQnJ88OyByJn/8/TINruwxFfQIi2wqfhLbmB5A4 VYuSH7guhW3cpDtCqSRk70FCbJjhYpQu2+m8qJw6gb3Su1uypSYvHpZvJXcx9QxR sRluAuuPSDIsirxrqVRz/DXnY9am0pqUW6WGh2ueEjmzLARS0A/hA6X+9rUUazIl Uk+Azvj0B0BPeN1wBjXhNK6IurF6q9MMivi884zzbSrhBfZuCeA8epHHF/CH1mEd oN6vDyeuJDJrMdoMO9NFcVOK4aKmKmju2VMzDoe9tkM47ZwxsbneNf0o29AzVLX7 x8SIQQMdfybskoI6eVer0xFm3X/gF/0rzFZeOR4JYBA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=lHGLSn 19+lPptNIEdzWvVYouhLnBBe+Rvt9O8KQVzHg=; b=0Rx4XWTfC93A+iX/dZ51H0 CilvLB/wiqjRARZF9thzwWeXtOwWbUeLCs2OWk4+7Hro3vY34103LJSfAttBZMt1 4qxWMSq6pVZxxxaCroAkVKHS7TSr815L7xKxrsKdHdjhkKJtsMr+ZOxqOU+ZLYAO yIh4VZB0uCHGZYh3Y13XHwuq0zHTlRQMhjsc05yiCt5LqIUWmm/iUoDJiy1iN8fX y0QG5IUmSf2FCRaj7uMm7K/t1mxemyVCKdV8lsqUHAiFv+Uf0JBVLPJQfZ/h+EKA 78ojamWHumpykmsAZr0JmoMCLP16/8AE2FQoBsMwb0r2gtTGfLnAR858QpG8hgeg == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduuddruddvgdekleculddtuddrgedutddrtddtmd cutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdp uffrtefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivg hnthhsucdlqddutddtmdenfghrlhcuvffnffculdejtddmnecujfgurhepfffhvffukfhf gggtuggjsehgtderredttddvnecuhfhrohhmpefoihgthhgrvghlucfrrghquhhivghruc eomhhitghhrggvlhesphgrqhhuihgvrhdrgiihiieqnecukfhppeduudekrddvgedurddv geelrdekvdenucfrrghrrghmpehmrghilhhfrhhomhepmhhitghhrggvlhesphgrqhhuih gvrhdrgiihiienucevlhhushhtvghrufhiiigvpedt X-ME-Proxy: Received: from paquier.xyz (mp76f1f952.ap.nuro.jp [118.241.249.82]) by mail.messagingengine.com (Postfix) with ESMTPA id 18E5410316; Mon, 8 Apr 2019 00:50:22 -0400 (EDT) Date: Mon, 8 Apr 2019 13:50:20 +0900 From: Michael Paquier To: Amit Langote Cc: petr.fedorov@phystech.edu, pgsql-bugs@lists.postgresql.org Subject: Re: BUG #15733: An insert destined at partition created after a column has been dropped from the parent table fails Message-ID: <20190408045020.GC2712@paquier.xyz> References: <15733-7692379e310b80ec@postgresql.org> <20190404013510.GB7693@paquier.xyz> <20190404104818.GM7693@paquier.xyz> <2e86bcd1-1196-d8bf-ed39-b43f66802e4f@lab.ntt.co.jp> <1b1a2522-4edc-9eea-9883-a41c68eba1ba@lab.ntt.co.jp> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="WfZ7S8PLGjBY9Voh" Content-Disposition: inline In-Reply-To: <1b1a2522-4edc-9eea-9883-a41c68eba1ba@lab.ntt.co.jp> X-Host-Lookup-Failed: Reverse DNS lookup failed for 64.147.123.20 (deferred) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --WfZ7S8PLGjBY9Voh Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Fri, Apr 05, 2019 at 02:07:22PM +0900, Amit Langote wrote: > I also rewrote tests a bit too, expanding the comment, and finding even > more suitable place in insert.sql to add this test than v2. Finally done. My apologies for the time it took. I have expanded the tests a bit more, tweaked a couple of comments and a bit the logic, then committed the fix to v11, with the extra set of regression tests added on HEAD. Thanks for the patch, Amit, and thanks for the report, Petr! -- Michael --WfZ7S8PLGjBY9Voh Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAlyq0wwACgkQnvQgOdby QH0Oog/9GQ3suZExN7x/GPEszSO9VxUe+gvA0lWshw/zF7qx2NIUWkARkztrkRXU vKVlpjHfAl+1kTwHFRhtju6Tpzjri/KAP9R7t3vn85OgdkJ2qf47ZjQTa9r6uGMb xJzvp+CgXlQLr+rLhpIfHfy2oXi5qmZg0OZfPwqOXeZ9IaE17E7pCTMl0/y/KS2W zxN61JncD3AlJFFun2/jgF2EkynY+vjlZKjdRwYsKB/caUeA2cTayIyVGWcM/bQ5 f5t4hubwO8e5TdmHl2Wl1WGodQrSC2SE1RqOmE6GtzDELK42GfeiwbBAKzT7VBnM /a5vk2MAm8sFvLOKyQ0qC7Oa6udtL1cuU5KOQSM3JLEkplDRr3hocXSRg4J0vhdA jQqnAFsmQYHEBh7no66AKC5yb5mwmfAEAHe5FZ1z4/bCVK5/7P1igKb6OaAXTOB1 P2luBcayq3hP1NvqfUlhWpAQzskttQRYEXEns7RrfbNbLfGly4h/uBnbZ+R+qpSK 9sz6Q8eGq0ps0EwLyeQep42pAIJCFDXTkZaaR6fsm/0cHG2DtLSwezN/A1jDNZiz XpLl6OC716x64wh1JXFYW0bEdntSqeBb5D4PBnLLZbKvjS4N4GwK131E81CB2ZQT HZVUSWdT1pZCbihHRWdHW22QqJ7/Zwybc6PoLoQ/UvJPQJ0WWe8= =pGIg -----END PGP SIGNATURE----- --WfZ7S8PLGjBY9Voh--