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 1iyWPo-0000Hd-S8 for pgsql-hackers@arkaria.postgresql.org; Mon, 03 Feb 2020 07:45:05 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1iyWPn-0001J2-Lx for pgsql-hackers@arkaria.postgresql.org; Mon, 03 Feb 2020 07:45:03 +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 1iyWPn-0001Iv-8k for pgsql-hackers@lists.postgresql.org; Mon, 03 Feb 2020 07:45:03 +0000 Received: from mail-wr1-x42d.google.com ([2a00:1450:4864:20::42d]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1iyWPj-0004or-A9 for pgsql-hackers@postgresql.org; Mon, 03 Feb 2020 07:45:02 +0000 Received: by mail-wr1-x42d.google.com with SMTP id z3so16625518wru.3 for ; Sun, 02 Feb 2020 23:44:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cybertec-at.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:in-reply-to:references:comments:mime-version :content-id:date:message-id; bh=vbCEVF0ucHiH4tgGq9C1eHzwi/AKbMfWgibsHLW4KwY=; b=tBBabBZb3y+R1gT4MyaUQyrQwwc8YskraUhIBEisijdCiRvCSEWit9WC7RmaUK1+16 lnJKNccizB2xi1OcCW5nbltZh7SxraJRDezyQ3IjxEascrw59H2M2wcCT3MYJT+Yw2QJ 7Sgv9ePUCs6QL8f93Wba1x/1iWUEFn85ipvfDZzwhFyiI3OT0NNS60rDsk5NEKDD+f69 hGOSaOc0jgOuSjwEir9sdWilgR+IYhS/4MgRQL3shJJsib/zkzML4Jm9zix+/s7+tiBI GEFdybTWM5Z8DOb6PU+4ez0CTAmUm7CVBdEwmyI1PrMh+dJ1BxIWgZRKLDD8TZFixIW0 Oe1Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references :comments:mime-version:content-id:date:message-id; bh=vbCEVF0ucHiH4tgGq9C1eHzwi/AKbMfWgibsHLW4KwY=; b=gE22mq6fjXzY+uSdeQenz7wpQn3+jJ3DDY9Kb6b/Uhv1qZVJi8rPTxCAw5fgkPThxk h2Bx/JLAlPt6DIcq0Vi9pHss0YlZ0b3Pt1Vu8l32CoaNVqvnJa+9tGOoaNop/GYOJq+U 4dtqPC8m8LwFLhQmQZXYn41fAgkrlnXdpmX0NG6KdsdGNM4klmClguVfwDE1E0uDN2zs wxffvIaN3Ko01uqQCFxJGTSiX/wozlxf7pVWydOaTZR7WR4uF8BkM1AwtRgTEgH55TLA nzy9thDo3MoIs/haHNBAjg8vU6W0p0EWwHVQJOtshf80Y+Xn4AImsyNzLcc5RMlRm9pT LcvQ== X-Gm-Message-State: APjAAAWj07Nas1UusCLa9eKv81l1u4LGwYsOcHYNzUh/wHFumPLDad7f m2R2J45rqZZk/LiTqOMIP94cwQ== X-Google-Smtp-Source: APXvYqy/8k9n0KbDEeX8yxj6H75WoJy9CAGwOFvFIJgInuIKqgccCqLsB+zfCUMOyGbllzRvhgOdGw== X-Received: by 2002:adf:8b54:: with SMTP id v20mr9012213wra.390.1580715898238; Sun, 02 Feb 2020 23:44:58 -0800 (PST) Received: from antos ([77.87.240.5]) by smtp.gmail.com with ESMTPSA id z10sm21534007wmk.31.2020.02.02.23.44.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 02 Feb 2020 23:44:57 -0800 (PST) From: Antonin Houska To: legrand legrand cc: pgsql-hackers@postgresql.org Subject: Re: WIP: Aggregation push-down In-reply-to: <1580507988788-0.post@n3.nabble.com> 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> <1580507988788-0.post@n3.nabble.com> Comments: In-reply-to legrand legrand message dated "Fri, 31 Jan 2020 14:59:48 -0700." X-Mailer: MH-E 8.6+git; nmh 1.7; GNU Emacs 26.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <68526.1580715963.1@antos> Date: Mon, 03 Feb 2020 08:46:03 +0100 Message-ID: <68527.1580715963@antos> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk legrand legrand wrote: > 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 > }, Thanks. I'll include this change in the next version. -- Antonin Houska Web: https://www.cybertec-postgresql.com