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 1f4YyQ-0001tg-Qg for pgsql-hackers@arkaria.postgresql.org; Fri, 06 Apr 2018 21:32:43 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1f4YyP-0007Mx-Kk for pgsql-hackers@arkaria.postgresql.org; Fri, 06 Apr 2018 21:32:41 +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 1f4YvG-0002XO-LZ for pgsql-hackers@lists.postgresql.org; Fri, 06 Apr 2018 21:29:27 +0000 Received: from new1-smtp.messagingengine.com ([66.111.4.221]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1f4YvC-0007r6-Hk for pgsql-hackers@postgresql.org; Fri, 06 Apr 2018 21:29:24 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailnew.nyi.internal (Postfix) with ESMTP id 3CBA11066; Fri, 6 Apr 2018 17:29:21 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Fri, 06 Apr 2018 17:29:21 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:subject:to :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=dhc53afcsPRdPai0a k8mGFbBlYCeSOlh637Sa/aIFfE=; b=YEe8WH1jdQFKDJhl0v48jsnzNZO/25x3d ZumZyGvQPkcYbfoPNXNbPiIwi6avvY5Tn5puaGUoZVJHV5g3LJldjROsgTWuSynU rRsl2ph1+P1kXUfaGY9vfI9Lpn5FvMSUxS5jARpq9hyGMosBGcM8vSFbOht1G+Ur yFQ285bt6+VlCKQBRzfJ/nBdTcOeTXk+K5tEDHcCTgnRQbbkW6sbFFXyn9t3XRGE Vfr7vvHR5j92c56po8zRBKndHge+/JtEfxR1OAm0Ia7hkEqgHiZJhdqDHV8kAV7Z PsAwRFj6I24q0tYYQLSY5nMt31FjxaSqULtV/VMwTqktkvqVuS1lw== X-ME-Sender: Received: from alvin.alvh.no-ip.org (unknown [179.56.29.253]) by mail.messagingengine.com (Postfix) with ESMTPA id 7BCC810255; Fri, 6 Apr 2018 17:29:20 -0400 (EDT) Received: by alvin.alvh.no-ip.org (Postfix, from userid 1000) id 8AA7A71B; Fri, 6 Apr 2018 18:29:17 -0300 (-03) Date: Fri, 6 Apr 2018 18:29:17 -0300 From: Alvaro Herrera To: David Rowley Cc: 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: <20180406212917.zzq5dbmasyt3fwru@alvherre.pgsql> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="mdcuqvb7ldfuzdit" Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20180406212507.6ddl76zkhd2ze4p5@alvherre.pgsql> User-Agent: NeoMutt/20170306-137-4415bd-dirty (1.8.0) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --mdcuqvb7ldfuzdit Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit Alvaro Herrera wrote: > I rebased this series on top of the committed version of the other patch. > Here's v22, with no other changes than rebasing. I did not include > 0005, though. Apologies, I forgot to "git add" one fixup for 0001. -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services --mdcuqvb7ldfuzdit Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="fixup.patch" diff --git a/src/backend/optimizer/plan/createplan.c b/src/backend/optimizer/plan/createplan.c index 093ceaa867..aac05917ee 100644 --- a/src/backend/optimizer/plan/createplan.c +++ b/src/backend/optimizer/plan/createplan.c @@ -29,7 +29,6 @@ #include "nodes/nodeFuncs.h" #include "optimizer/clauses.h" #include "optimizer/cost.h" -#include "optimizer/partprune.h" #include "optimizer/paths.h" #include "optimizer/placeholder.h" #include "optimizer/plancat.h" @@ -42,6 +41,7 @@ #include "optimizer/var.h" #include "parser/parse_clause.h" #include "parser/parsetree.h" +#include "partitioning/partprune.h" #include "utils/lsyscache.h" --mdcuqvb7ldfuzdit--