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 1gZ16v-0000u7-Ch for pgsql-hackers@arkaria.postgresql.org; Mon, 17 Dec 2018 22:11:37 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gZ15w-00054o-0W for pgsql-hackers@arkaria.postgresql.org; Mon, 17 Dec 2018 22:10:36 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gZ15v-00054T-MU for pgsql-hackers@lists.postgresql.org; Mon, 17 Dec 2018 22:10:35 +0000 Received: from mail-wm1-x342.google.com ([2a00:1450:4864:20::342]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gZ15s-0000Ji-I0 for pgsql-hackers@postgresql.org; Mon, 17 Dec 2018 22:10:34 +0000 Received: by mail-wm1-x342.google.com with SMTP id d15so734722wmb.3 for ; Mon, 17 Dec 2018 14:10:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=YLJgmZWPruR51N3CIvw3oRDsKif5MhOe7OALuoCiRmo=; b=ITzpt4dw7FMAq3aCKl628aO31iqoYp90w5AGRXgcy9htLX3t15WOYyNd3ovZl2v9+X 65lqs3n0FcNJuUtk6wR851hZJMvy4gp+2lFy8xsa9mHd0vc4qHt6yvVX3oyUmJnfbmyQ ZPSBylHoLS0GVhrCYG9C+Vr9xzux5oJU22D4vcX+jRLelDoiDT0PrUtUmseEd3E762Om QPPaCR7NvodaTmsf8CyJmbRxfWVauPI/UrOwM9Rj6f8qKRq5X/KQOCwyYgeSMO5cKAn4 XkNKy/wuFpYRqJKVrg6h1MJNAqIGKd7euq9aksvzo2F3sCEdaxoa2cywxE9KudtgGAWK MGYw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=YLJgmZWPruR51N3CIvw3oRDsKif5MhOe7OALuoCiRmo=; b=KqoConUhNkCU9lhU6EKY2VOLr0hZxfuK5udbz9kRLfJtVRIE9Q5VHTARbEUSTx8/2Q dzPF1G3FIdzOEq9gjvdudDnbjuzFs5/EjZ1/W6uzpO//u4qKvvrV69MSqe25w4epZ0Hk GOHCUL1IR0oYBGhsqZb9JcJRFRPqtVoRSemS4qrxq+KQcb9TU86EfU6hhSRcE4dWaIS8 5rIU37Mke8nKMYx3LP5PPDq6sbffAVFmKUpRWxe43S9Tv+kRwUSBeY5SmVVpnEEPVFh7 ezoxgWZdg7/ptyBdEGe0DfznTsJN5XQKe5EZcb1uDcgVGvXbeE47aFKlEEevcyC42JZg fh0w== X-Gm-Message-State: AA+aEWY3E1IqJRYlfVNpxuxIc4eZz0WS8gQKO0iYYMe2iEunyceybMcY VzIglDX5AL9sxgmcfvWH4Y9zVEBJDJd6DQdNlcBkzRuiIrtviRjnRz/i/kvrD0gBSHr01fL2JHY NKcRMHOzHcEyGw8CSRDhK7Csx+uHLa5p5UiW38dAWvEpkq+F1dlhCyomRRDzNSF+RexuKrv+ehR 7Atz32BWXrmBjucg== X-Google-Smtp-Source: AFSGD/VHJxUmoJNLdmFYYXA6a6uquQmX0xbv86xL47d4zpTr8JEsb/3/mPHu9xvSxb5gUZM+z18jDw== X-Received: by 2002:a1c:c543:: with SMTP id v64mr668683wmf.123.1545084630171; Mon, 17 Dec 2018 14:10:30 -0800 (PST) Received: from [10.137.2.19] (ip-86-49-251-50.net.upcbroadband.cz. [86.49.251.50]) by smtp.gmail.com with ESMTPSA id j202sm870141wmf.15.2018.12.17.14.10.29 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 17 Dec 2018 14:10:29 -0800 (PST) Subject: Re: explain plans with information about (modified) gucs To: legrand legrand , pgsql-hackers@postgresql.org References: <10561.1544800904@sss.pgh.pa.us> <631ae5c8-5581-6c5e-382c-2dcdb2e5c956@2ndquadrant.com> <1545083780942-0.post@n3.nabble.com> From: Tomas Vondra Message-ID: <1edcee55-ea96-d123-199d-4c5f1fc5003b@2ndquadrant.com> Date: Mon, 17 Dec 2018 23:10:26 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.3.1 MIME-Version: 1.0 In-Reply-To: <1545083780942-0.post@n3.nabble.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Hi, On 12/17/18 10:56 PM, legrand legrand wrote: > what would you think about adding > search_path > to that list ? > Yeah, I've been thinking about that too. Currently it gets filtered out because it's in the CLIENT_CONN_STATEMENT group, but the code only includes QUERY_TUNING_*. But we don't want to include everything from CLIENT_CONN_STATEMENT, because that would include various kinds of timeouts, vacuuming parameters, etc. And the same issue applies to work_mem, which is in RESOURCES_MEM. And of course, there's a lot of unrelated stuff in RESOURCES_MEM. So I guess we'll need to enable QUERY_TUNING_* and then selectively a couple of individual options from other groups. regards -- Tomas Vondra http://www.2ndQuadrant.com PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services