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 1m4SN3-00006n-OV for pgsql-hackers@arkaria.postgresql.org; Fri, 16 Jul 2021 18:15:33 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1m4SN2-00072L-Jp for pgsql-hackers@arkaria.postgresql.org; Fri, 16 Jul 2021 18:15:32 +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 1m4SN2-00072C-C6 for pgsql-hackers@lists.postgresql.org; Fri, 16 Jul 2021 18:15:32 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1m4SN0-0005cp-AU for pgsql-hackers@postgresql.org; Fri, 16 Jul 2021 18:15:31 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 16GIFQ5T3746988; Fri, 16 Jul 2021 14:15:26 -0400 From: Tom Lane To: Justin Pryzby cc: Alvaro Herrera , pgsql-hackers@postgresql.org, Amit Langote Subject: Re: CREATE TABLE .. PARTITION OF fails to preserve tgenabled for inherited row triggers In-reply-to: <20210716181012.GR20208@telsasoft.com> References: <20201027174318.GM9241@telsasoft.com> <202107141802.5wzzuwqwodsx@alvherre.pgsql> <20210716181012.GR20208@telsasoft.com> Comments: In-reply-to Justin Pryzby message dated "Fri, 16 Jul 2021 13:10:12 -0500" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <3746986.1626459326.1@sss.pgh.pa.us> Date: Fri, 16 Jul 2021 14:15:26 -0400 Message-ID: <3746987.1626459326@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Justin Pryzby writes: > I think there's still an issue that comments on child triggers aren't > preserved, right ? Do we care? That seems like messing with a system-internal object. In general we won't promise to preserve the results of doing so. regards, tom lane