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 1oxxoX-0001Wq-0j for pgsql-general@arkaria.postgresql.org; Wed, 23 Nov 2022 22:01:53 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1oxxoV-0003bS-RI for pgsql-general@arkaria.postgresql.org; Wed, 23 Nov 2022 22:01:51 +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 1oxxoV-0003bI-Gn for pgsql-general@lists.postgresql.org; Wed, 23 Nov 2022 22:01:51 +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 1oxxoT-0001K3-7W for pgsql-general@lists.postgresql.org; Wed, 23 Nov 2022 22:01:50 +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 2ANM1lso3748576; Wed, 23 Nov 2022 17:01:47 -0500 From: Tom Lane To: Ted Toth cc: Ron , pgsql-general@lists.postgresql.org Subject: Re: table inheritance partition and indexes In-reply-to: References: <8a298271-3643-4298-ee19-ed219a5ca7af@gmail.com> Comments: In-reply-to Ted Toth message dated "Wed, 23 Nov 2022 15:49:26 -0600" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <3748574.1669240907.1@sss.pgh.pa.us> Date: Wed, 23 Nov 2022 17:01:47 -0500 Message-ID: <3748575.1669240907@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Ted Toth writes: > On Wed, Nov 23, 2022 at 1:24 PM Ron wrote: >> Out of curiosity, why INHERITS in v13 instead of PARTITION BY? > Because none of the declarative partition types do what I want. Then you're stuck managing it manually. But ATTACH PARTITION is not relevant to INHERITS-style partitioning. regards, tom lane