Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lUheA-0008Tn-3Z for pgsql-hackers@arkaria.postgresql.org; Fri, 09 Apr 2021 03:17:26 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lUhe9-0002Yc-1x for pgsql-hackers@arkaria.postgresql.org; Fri, 09 Apr 2021 03:17:25 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lUhe8-0002YV-RT for pgsql-hackers@lists.postgresql.org; Fri, 09 Apr 2021 03:17:24 +0000 Received: from mail-io1-xd29.google.com ([2607:f8b0:4864:20::d29]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1lUhe6-0004A2-2Y for pgsql-hackers@lists.postgresql.org; Fri, 09 Apr 2021 03:17:24 +0000 Received: by mail-io1-xd29.google.com with SMTP id j26so4431399iog.13 for ; Thu, 08 Apr 2021 20:17:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telsasoft-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=U1ygRIYpWay6zdEbcJby8VwYglsax9MNfe+tRSDbGpE=; b=CU1vsC/ghe1aLpYy53CxUENbw302pqyIvEf/lPlN21Y60LKf9rA6e12t6HYnkpPHt3 /1Bcpx8deVy/9wvZ2iBwjwniR2PiDX9mRE65ZY+cFk9cKlevlu2eSBk2OC/gCfoY747i KtZc9XWguHvb5PB2c7VkOMyPtElyWmLlka9+dCviVnVckF+1aaDacfOtPeZ6KtI2n11O 6xtucSz+7Qj1dunkIF33mVeIWpVrrQSHrdG1ZKGG+Sbk4x6+l+xaPBFNlUp7SM6HjuS1 g2tB+McV8YZJyUPhAAFinHAnGMSMZZB5Q8RZpbnylP4IS2ifbod0ifvHimnM+H3shF7Y F8Ow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=U1ygRIYpWay6zdEbcJby8VwYglsax9MNfe+tRSDbGpE=; b=dZs97i7Ap7kbOYqbqe+/ZxJ/Vzkul7q7ofmeJRt2s24jHqhV+/nw/Lf/mW68xw0KEm 2H3o2x+erJBij2DRD0pgcASC00IjrB9c87+1T01aYFDPQYeUTWksSo6BD5i6RqJ8GBUZ ONijh0Ze8de3Yunoqayh5/j2DsrJRHkqRhPDrm8ZVmUA4V6NaABxpV97elHDoA4kzIKc ZBw2ZfjOPXFV2qhZf4sviHY9Mpa6eYvEYSKKqdEM0YkpigBa5rAGxRjA0rA1ajTjar/z 43wDPyLNs9oReC9efvxOQ9VGSAsCa0A/p5IkuIpHtcaHacYEhWmwKsgQUuTZPQ18R474 hBCg== X-Gm-Message-State: AOAM531M7rF8iEfwjBhRZbecDNKSXigUH+VaRfm9egiRbWABq1P9OUiH otAoFig1VTnix3xJCKInKRln9hwc8JN8Rg== X-Google-Smtp-Source: ABdhPJylwW/0IwiG9qxsaSRlhgdFvnXkqTxTfjnas/UWH/Y6gY08TRxp+cPb+p8VpPxo8UtaCybJ1A== X-Received: by 2002:a02:cac9:: with SMTP id f9mr5132322jap.85.1617938240010; Thu, 08 Apr 2021 20:17:20 -0700 (PDT) Received: from pryzbyj.telsasoft (charmander.telsasoft.com. [50.244.222.1]) by smtp.gmail.com with ESMTPSA id j1sm288819ioa.19.2021.04.08.20.17.19 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 08 Apr 2021 20:17:19 -0700 (PDT) Received: by pryzbyj.telsasoft (Postfix, from userid 1000) id 91030801860; Thu, 8 Apr 2021 22:17:18 -0500 (CDT) Date: Thu, 8 Apr 2021 22:17:18 -0500 From: Justin Pryzby To: Michael Paquier Cc: Bruce Momjian , Tom Lane , pgsql-hackers@lists.postgresql.org Subject: Re: [PATCH] force_parallel_mode and GUC categories Message-ID: <20210409031718.GO6592@telsasoft.com> References: <20210403141651.GI6592@telsasoft.com> <20210403151201.GD29125@momjian.us> <3972636.1617464359@sss.pgh.pa.us> <20210403154114.GJ6592@telsasoft.com> <20210403154336.GG29125@momjian.us> <20210404012546.GK6592@telsasoft.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Fri, Apr 09, 2021 at 10:50:53AM +0900, Michael Paquier wrote: > On Sat, Apr 03, 2021 at 08:25:46PM -0500, Justin Pryzby wrote: > > Forking this thread > > https://www.postgresql.org/message-id/20210403154336.GG29125%40momjian.us > > Didn't see this one, thanks for forking. > > - {"force_parallel_mode", PGC_USERSET, QUERY_TUNING_OTHER, > + {"force_parallel_mode", PGC_USERSET, DEVELOPER_OPTIONS, > And not this one either, as it is mainly a planner thing, like the > other parameters in the same area. This is the main motive behind the patch. Developer options aren't shown in postgresql.conf.sample, which it seems like sometimes people read through quickly, setting a whole bunch of options that sound good, sometimes including this one. And in the best case they then ask on -performance why their queries are slow and we tell them to turn it back off to fix their issues. This changes to no longer put it in .sample, and calling it a "dev" option seems to be the classification and mechanism by which to do that. -- Justin ps, Maybe you saw that I'd already resent without including the accidental junk hunks.