Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1ZSMRY-0001lM-7h for pgsql-hackers@arkaria.postgresql.org; Thu, 20 Aug 2015 09:47:32 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1ZSMRX-0002cq-5f for pgsql-hackers@arkaria.postgresql.org; Thu, 20 Aug 2015 09:47: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) (envelope-from ) id 1ZSMRW-0002cj-ET for pgsql-hackers@postgresql.org; Thu, 20 Aug 2015 09:47:30 +0000 Received: from tama500.ecl.ntt.co.jp ([129.60.39.148]) by makus.postgresql.org with esmtp (Exim 4.84) (envelope-from ) id 1ZSMRS-0006Uk-PM for pgsql-hackers@postgresql.org; Thu, 20 Aug 2015 09:47:28 +0000 Received: from vc1.ecl.ntt.co.jp (vc1.ecl.ntt.co.jp [129.60.86.153]) by tama500.ecl.ntt.co.jp (8.13.8/8.13.8) with ESMTP id t7K9lNEj015951; Thu, 20 Aug 2015 18:47:23 +0900 Received: from vc1.ecl.ntt.co.jp (localhost [127.0.0.1]) by vc1.ecl.ntt.co.jp (Postfix) with ESMTP id 9BC085F623; Thu, 20 Aug 2015 18:47:23 +0900 (JST) Received: from imail3.m.ecl.ntt.co.jp (imail3.m.ecl.ntt.co.jp [129.60.5.248]) by vc1.ecl.ntt.co.jp (Postfix) with ESMTP id 846A05F58A; Thu, 20 Aug 2015 18:47:23 +0900 (JST) Received: from [127.0.0.1] ([129.60.241.61]) by imail3.m.ecl.ntt.co.jp (8.13.8/8.13.8) with ESMTP id t7K9lMwY014968; Thu, 20 Aug 2015 18:47:23 +0900 Subject: Re: Declarative partitioning To: Pavan Deolasee References: <55D3093C.5010800@lab.ntt.co.jp> Cc: Pg Hackers From: Amit Langote Message-ID: <55D5A1D0.2070709@lab.ntt.co.jp> Date: Thu, 20 Aug 2015 18:45:52 +0900 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-TM-AS-MML: disable X-Pg-Spam-Score: -3.2 (---) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org On 2015-08-20 PM 06:27, Pavan Deolasee wrote: > On Tue, Aug 18, 2015 at 4:00 PM, Amit Langote > wrote: >> >> PARTITION BY LIST ON (name) >> PARTITION BY RANGE ON (year, month) >> >> PARTITION BY LIST ON ((lower(left(name, 2))) >> PARTITION BY RANGE ON ((extract(year from d)), (extract(month from d))) >> >> > > How about HASH partitioning? Are there plans to support foreign tables as > partitions? > I've not given HASH partitioning a lot of thought yet. About the latter, it seems it should not be too difficult to incorporate into the proposed partitioning internals. Thanks, Amit -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers