Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1f4fVS-0003PY-BN for pgsql-hackers@arkaria.postgresql.org; Sat, 07 Apr 2018 04:31:14 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1f4fVQ-0000L1-T9 for pgsql-hackers@arkaria.postgresql.org; Sat, 07 Apr 2018 04:31:12 +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.89) (envelope-from ) id 1f4fVQ-0000Kq-IY for pgsql-hackers@lists.postgresql.org; Sat, 07 Apr 2018 04:31:12 +0000 Received: from out5-smtp.messagingengine.com ([66.111.4.29]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1f4fVO-0000Xp-81 for pgsql-hackers@postgresql.org; Sat, 07 Apr 2018 04:31:11 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 5F2E92121D; Sat, 7 Apr 2018 00:31:09 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Sat, 07 Apr 2018 00:31:09 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=anarazel.de; h= cc: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=vVbZFPL7fUfdZd9FwzZ5QwEDA5y0wCm2ztzlTN1UFyk=; b=Cv2Wggb1 7OWrMKsQVCGuq93q49p44kH7wTddIdl1qTFP6WCVZdVQ12P6G6HLn/ooNnzXwWuX jL/EiekEF0SwIu6Qyk2auGcaNgCVeIFGYjvEyIVtjVxkuWInjbolFHcZOmpdQL03 a7Dl+9v0o26Zg216W8kbCaRXOP7k5WMwp94ZxBAl7QYTkYuFDGaWOzu96lL8Shxr TDnn0qiubMHFD7rQ/JRZaqJdDdXh3fLdYci3OjiTGmCCjWeVThtiFLQXS3RmbdHw xDgyRQwx4R2q6SkMLPWrh5M1unkKLaUj09soAAAm+MKJqhTbdsB/36dqoUHQonUw MijYnyJWCLuhfg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm2; bh=vVbZFPL7fUfdZd9FwzZ5QwEDA5y0w Cm2ztzlTN1UFyk=; b=grn3cJIUFbMlNP1ZLsPGUsvZOLvGXiFH/qMJ8woALAU6Q i20Q6zHLtAQleK1qxGJfQnNcp92ojRVuwgPfeQv/+tXl/YR5KWDeyZ3Ab7XGor8e ncAXSvVufVZWuJSdNtBE0h/at8Rph8lfZnXn1I31CPBhYk/sUuLliNR1Fnn7jxGd ndXdWkGr7feNHXTw1w/9J4BcnenANFlZEwf7N0hzcVXPSQtjbYgqyL/h/eTRjHSf tGEIVjYyija1ejl0g1qDjgG2N2wE9VSXcIavYZLDp44sCqKpjsDGzMtN8y3FWyEv kR8MKefZbD10Kypia6PkqGnJkBmkKuUsWrkjKGbFQ== X-ME-Sender: Received: from intern.anarazel.de (unknown [136.24.76.189]) by mail.messagingengine.com (Postfix) with ESMTPA id F2D7EE4437; Sat, 7 Apr 2018 00:31:08 -0400 (EDT) Date: Fri, 6 Apr 2018 21:31:08 -0700 From: Andres Freund To: Amit Langote Cc: David Rowley , Alvaro Herrera , Amit Langote , Jesper Pedersen , Rajkumar Raghuwanshi , Beena Emerson , Robert Haas , amul sul , "pgsql-hackers@postgresql.org" , Dilip Kumar Subject: Re: [HACKERS] Runtime Partition Pruning Message-ID: <20180407043108.csphvmzyk4gprnze@alap3.anarazel.de> References: <20180406212507.6ddl76zkhd2ze4p5@alvherre.pgsql> <20180406212917.zzq5dbmasyt3fwru@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 2018-04-07 13:26:51 +0900, Amit Langote wrote: > On Sat, Apr 7, 2018 at 11:26 AM, David Rowley > wrote: > > Everything else looks fine from my point of view. > > Me too, although I still think having struct names PartitionPruning > and PartitionRelPruning is going to be a bit confusing. We should > think about naming the latter to something else. I suggested > PartitionPruningDispatch(Data), but David doesn't seem to like it. > Maybe, PartitionPruneState, because it parallels the > PartitionPruneInfo that comes from the planner for every partitioned > table in the tree. I've not followed this thread/feature at all, but I don't find the comments atop partprune.c even remotely sufficient. Unless there's an README hidden or such hidden somewhere? Greetings, Andres Freund