Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1aVVgg-0002li-Ty for pgsql-hackers@arkaria.postgresql.org; Tue, 16 Feb 2016 02:48:27 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1aVVgg-0004Sz-FW for pgsql-hackers@arkaria.postgresql.org; Tue, 16 Feb 2016 02:48:26 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1aVVfM-0002yp-68 for pgsql-hackers@postgresql.org; Tue, 16 Feb 2016 02:47:04 +0000 Received: from tama50.ecl.ntt.co.jp ([129.60.39.147]) by magus.postgresql.org with esmtp (Exim 4.84) (envelope-from ) id 1aVVfH-0004KY-KL for pgsql-hackers@postgresql.org; Tue, 16 Feb 2016 02:47:03 +0000 Received: from vc2.ecl.ntt.co.jp (vc2.ecl.ntt.co.jp [129.60.86.154]) by tama50.ecl.ntt.co.jp (8.13.8/8.13.8) with ESMTP id u1G2kp3p007099; Tue, 16 Feb 2016 11:46:51 +0900 Received: from vc2.ecl.ntt.co.jp (localhost [127.0.0.1]) by vc2.ecl.ntt.co.jp (Postfix) with ESMTP id 8EB015F611; Tue, 16 Feb 2016 11:46:51 +0900 (JST) Received: from jcms-pop21.ecl.ntt.co.jp (jcms-pop21.ecl.ntt.co.jp [129.60.87.134]) by vc2.ecl.ntt.co.jp (Postfix) with ESMTP id 809C45F594; Tue, 16 Feb 2016 11:46:51 +0900 (JST) Received: from [127.0.0.1] (unknown [129.60.241.61]) by jcms-pop21.ecl.ntt.co.jp (Postfix) with ESMTP id 7BCFA400B37; Tue, 16 Feb 2016 11:46:51 +0900 (JST) Subject: Re: Declarative partitioning References: <55D3093C.5010800@lab.ntt.co.jp> <56A23484.4000504@2ndquadrant.com> <56A9D51E.2000508@lab.ntt.co.jp> <56C1302D.6070403@lab.ntt.co.jp> <56C26D27.40108@lab.ntt.co.jp> <56C28C4C.5090409@agliodbs.com> From: Amit Langote Message-ID: <56C28D8A.2060608@lab.ntt.co.jp> Date: Tue, 16 Feb 2016 11:46:34 +0900 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 MIME-Version: 1.0 In-Reply-To: <56C28C4C.5090409@agliodbs.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit To: Josh berkus , Corey Huinker Cc: pgsql-hackers@postgresql.org X-TM-AS-MML: disable X-Pg-Spam-Score: -2.6 (--) 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 Hi Josh, On 2016/02/16 11:41, Josh berkus wrote: > On 02/15/2016 04:28 PM, Amit Langote wrote: >> Also, you won't see any optimizer and executor changes. Queries will still >> use the same plans as existing inheritance-based partitioned tables, >> although as I mentioned, constraint exclusion won't yet kick in. That will >> be fixed very shortly. > > We're not going to use CE for the new partitioning long-term, are we? This > is just the first version, right? Yes. My approach in previous versions of stuffing major planner changes in with the syntax patch was not quite proper in retrospect. So, I thought I'd propose any major planner (and executor) changes later. 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