Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fZvUt-0005lc-Cd for pgsql-docs@arkaria.postgresql.org; Mon, 02 Jul 2018 09:51:51 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fZvUq-0007by-Fe for pgsql-docs@arkaria.postgresql.org; Mon, 02 Jul 2018 09:51:48 +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 1fZvUq-0007br-6e for pgsql-docs@lists.postgresql.org; Mon, 02 Jul 2018 09:51:48 +0000 Received: from momjian.us ([72.94.173.45]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1fZvUl-0003FG-Rf for pgsql-docs@postgresql.org; Mon, 02 Jul 2018 09:51:46 +0000 Received: from bruce by momjian.us with local (Exim 4.84_2) (envelope-from ) id 1fZvUk-0001NB-TX for pgsql-docs@postgresql.org; Mon, 02 Jul 2018 05:51:42 -0400 Date: Mon, 2 Jul 2018 05:51:42 -0400 From: Bruce Momjian To: PostgreSQL-documentation Subject: Run-time partition pruning and EXPLAIN [ANALYZE] Message-ID: <20180702095142.GA3531@momjian.us> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.23 (2014-03-12) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk I attended a Postgres 11 feature talk by Daniel Westermann at the Swiss PGDay about the features in Postgres 11. He showed that EXPLAIN does not show run-time partition pruning, only EXPLAIN ANALYZE does; see slides 32-34 at https://www.pgday.ch/common/slides/2018_westermann_WhatWeAlreadyKnowAboutPostgreSQL11.pdf. I might be obvious once you see it, but it wasn't obvious to me before this. I don't see this documented. I think we should. -- Bruce Momjian http://momjian.us EnterpriseDB http://enterprisedb.com + As you are, so once was I. As I am, so you will be. + + Ancient Roman grave inscription +