Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eNMQt-0003ZG-VF for pgsql-bugs@arkaria.postgresql.org; Fri, 08 Dec 2017 17:27:32 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eNMQt-0000RK-CF for pgsql-bugs@arkaria.postgresql.org; Fri, 08 Dec 2017 17:27:31 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1eNMQs-0000R7-Rw for pgsql-bugs@lists.postgresql.org; Fri, 08 Dec 2017 17:27:31 +0000 Received: from out3-smtp.messagingengine.com ([66.111.4.27]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1eNMQp-0007KR-W2 for pgsql-bugs@postgresql.org; Fri, 08 Dec 2017 17:27:29 +0000 Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id 1C8AB20D96; Fri, 8 Dec 2017 12:27:26 -0500 (EST) Received: from frontend2 ([10.202.2.161]) by compute7.internal (MEProxy); Fri, 08 Dec 2017 12:27:26 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=pIHGEn MWVLW0102pIwuxqy+v5TXC9tIo3udiND6Eu4Q=; b=IilAkwiD78lCNif6H4cffE JpxsZ1nBQDw0c0bwGLMbZDAb4p9N7XG4gJ/B/BzpmIjJbfi4u7Dfzoz0+6xEs1o9 05U1aKjwcHUIFZXeoSB0fnfWhpCD69bv/jche02nkRUQu0EdjihbgJexK6RKTBGw 59fbc9okPG4Nxhne1j566d+sNlnmrH3zvEVhyDwfkoB6BHgPn/dHkFZuAmyJFb8K n17ZRSb8gpEwv6pAfIaHtvK5N5jXQoUOTFnpxSj5lPz5bB1yHxi5ZuFPFdRJ8Ucz 4Avohk9fwxI2lGZqoJTWrlpBhm6QPiojW7VfjsQxmrYruu6eSIMaukBKvIshFpvQ == X-ME-Sender: Received: from april.local (c-73-13-66-39.hsd1.pa.comcast.net [73.13.66.39]) by mail.messagingengine.com (Postfix) with ESMTPA id B5F5D24E77; Fri, 8 Dec 2017 12:27:25 -0500 (EST) Subject: Re: [BUGS] BUG #14866: The generated constraint in the typed table causes the server to crash To: Amit Langote , Michael Paquier References: <20171023074458.1473.25799@wrigleys.postgresql.org> <8dd10932-16f0-7e07-6fd2-be33cbea962e@2ndquadrant.com> <298a6f2d-5f82-aecb-fa67-b462213a7582@lab.ntt.co.jp> Cc: gomer94@yandex.ru, PostgreSQL mailing lists , Robert Haas , Amit Langote From: Peter Eisentraut Organization: 2ndQuadrant Message-ID: Date: Fri, 8 Dec 2017 12:27:25 -0500 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 MIME-Version: 1.0 In-Reply-To: <298a6f2d-5f82-aecb-fa67-b462213a7582@lab.ntt.co.jp> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 11/13/17 02:33, Amit Langote wrote: > On 2017/11/11 18:11, Michael Paquier wrote: >> On Fri, Nov 10, 2017 at 11:33 AM, Michael Paquier >> wrote: >>> All in all, I would be more on board with just issuing errors when >>> trying to attempt typed table creation with identity columns and >>> partitions for now, by complaining with a >>> ERRCODE_FEATURE_NOT_SUPPORTED. Any person willing to add this support >>> later on could always provide a patch for it, I am now rather >>> convinced that what I proposed upthread is not the correct way to do >>> so, and there is no rush in implementing it correctly for v11 or even >>> later. >>> >>> Peter, Robert, Amit, thoughts? >> >> And this gives the attached. That still looks like the safest thing to >> do for now on v10 and HEAD after more thoughts. > > That looks good to me. That is, if the consensus turns out to be that we > issue error in those cases. committed -- Peter Eisentraut http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services