Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1ixeKU-0008Cq-83 for pgsql-hackers@arkaria.postgresql.org; Fri, 31 Jan 2020 21:59:58 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1ixeKR-0007Vu-LY for pgsql-hackers@arkaria.postgresql.org; Fri, 31 Jan 2020 21:59:55 +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_SHA1:256) (Exim 4.89) (envelope-from ) id 1ixeKR-0007Vk-CX for pgsql-hackers@lists.postgresql.org; Fri, 31 Jan 2020 21:59:55 +0000 Received: from n3.nabble.com ([162.255.23.22]) by magus.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1ixeKN-0001WJ-Fo for pgsql-hackers@postgresql.org; Fri, 31 Jan 2020 21:59:54 +0000 Received: from n3.nabble.com (localhost [127.0.0.1]) by n3.nabble.com (Postfix) with ESMTP id C920A1AA21706 for ; Fri, 31 Jan 2020 14:59:48 -0700 (MST) Date: Fri, 31 Jan 2020 14:59:48 -0700 (MST) From: legrand legrand To: pgsql-hackers@postgresql.org Message-ID: <1580507988788-0.post@n3.nabble.com> In-Reply-To: <72558.1579188350@antos> References: <1897.1562680064@spoje.net> <13971.1562920911@spoje.net> <19857.1563374392@localhost> <20190904202339.GA13644@alvherre.pgsql> <7087.1567663858@localhost> <20200111011124.efacqhdsptc36pm2@development> <72558.1579188350@antos> Subject: Re: WIP: Aggregation push-down MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Hello, Thank you for this great feature ! I hope this will be reviewed/validated soon ;o) Just a comment: set enable_agg_pushdown to true; isn't displayed in EXPLAIN (SETTINGS) syntax. The following modification seems to fix that: src/backend/utils/misc/guc.c {"enable_agg_pushdown", PGC_USERSET, QUERY_TUNING_METHOD, gettext_noop("Enables aggregation push-down."), NULL, GUC_EXPLAIN <<<<--- line Added --->>>> }, &enable_agg_pushdown, false, NULL, NULL, NULL }, then postgres=# set enable_agg_pushdown = true; SET postgres=# explain (settings) select 1; QUERY PLAN ------------------------------------------ Result (cost=0.00..0.01 rows=1 width=4) Settings: enable_agg_pushdown = 'on' (2 rows) Regards PAscal -- Sent from: https://www.postgresql-archive.org/PostgreSQL-hackers-f1928748.html