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 1oZmJ0-0004s6-Lo for pgsql-hackers@arkaria.postgresql.org; Sun, 18 Sep 2022 04:53:23 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1oZmIz-00025n-3w for pgsql-hackers@arkaria.postgresql.org; Sun, 18 Sep 2022 04:53:21 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oZmIy-00025c-Dl for pgsql-hackers@lists.postgresql.org; Sun, 18 Sep 2022 04:53:20 +0000 Received: from mail-io1-xd2a.google.com ([2607:f8b0:4864:20::d2a]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1oZmIq-00061d-Ea for pgsql-hackers@postgresql.org; Sun, 18 Sep 2022 04:53:19 +0000 Received: by mail-io1-xd2a.google.com with SMTP id z191so20519320iof.10 for ; Sat, 17 Sep 2022 21:53:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telsasoft-com.20210112.gappssmtp.com; s=20210112; h=user-agent:in-reply-to:content-disposition:mime-version:references :message-id:subject:cc:to:from:date:from:to:cc:subject:date; bh=lO5zgVklOcu0Yx6oU6MZjBdvzzX6GNVCe+qfFB0KIiY=; b=qUUOXzxtUGrdavCTRFFRrOkucngPZzlRhFpxq+s+ERZU93cWVdJjtQjQKidOzTc58I 0Htdbp1j4KOecz/c4npdapTN6A137DeXe3LFUR0R7rj/Co5tieyp0qBQzz8yPkHCwHzI Wm1ogcc4/9CFwO5PoGXBfPX4vF6fmLIOi6E+sKgxiHuqyHZot+GfHyAM/eyF1DBPp5TI 6KUlefdv7xXj86c3o17xn45aX+f8Ec8CkygsC6BsQXDexPNOuzF+c+FlWIHJnXN68RYO rh00LDF7YuZzDHjofoL+9TkGsKELeXuL/ynmlPIcjH5BNZYl+nfhxinRdp/1E4XmlqR/ sSbg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=user-agent:in-reply-to:content-disposition:mime-version:references :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date; bh=lO5zgVklOcu0Yx6oU6MZjBdvzzX6GNVCe+qfFB0KIiY=; b=YRuFjDG4DiFLxE+V9Y1Npfb8eiCYavVHzMjHwfePxYiG/8GN5CUVQVJigcwfHS9h2+ R6YiJ+Kszc9AmQmazAsdYTcnzY/yCN4lzUki7JNcgi+MuyZa94ZxsLTDfFRLmT6KDbYK uPxg9YhhT2BXVWM7NPwXtqdikn5+zQfdvWHgiznkgupk8n8Owoc4J3FUHFvbBdJPL939 d0zoOXhaUy/PwKF0KkbKDZQRMXYDJk0Fjl6a24WcPPmKGS502B0p83A+onTi3YZ8PsL6 AvTuZ7mvIdnx70zlGtbfH/V2mePdWzgIdpu1wUE/F3O9W+fsBRf8ljS540xWtoM6zqc4 vj0w== X-Gm-Message-State: ACrzQf3hGWg4Z5TzUeT5yxiuBICPJnB0+pxDjz/JUMWnniAJ/uhB+sq6 JfnLxvCuZWaG3jL9tIMz2cDonA== X-Google-Smtp-Source: AMsMyM7zhWOV4AKFaimLi8rqKNEHw8wQDCu0cnlNutsLhYDi8pXkyqqeL/719SwKVYqM2KZAQw/KJQ== X-Received: by 2002:a05:6638:2686:b0:35a:413a:b7a0 with SMTP id o6-20020a056638268600b0035a413ab7a0mr5593004jat.224.1663476790665; Sat, 17 Sep 2022 21:53:10 -0700 (PDT) Received: from pryzbyj.telsasoft (charmander.telsasoft.com. [50.244.222.1]) by smtp.gmail.com with ESMTPSA id o18-20020a02a1d2000000b00358329bd6cbsm4074543jah.122.2022.09.17.21.53.08 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sat, 17 Sep 2022 21:53:08 -0700 (PDT) Received: by pryzbyj.telsasoft (Postfix, from userid 1000) id 6295E801044; Sat, 17 Sep 2022 23:53:07 -0500 (CDT) Date: Sat, 17 Sep 2022 23:53:07 -0500 From: Justin Pryzby To: Kyotaro Horiguchi Cc: michael@paquier.xyz, andres@anarazel.de, nathandbossart@gmail.com, pgsql-hackers@postgresql.org Subject: Re: fix stats_fetch_consistency value in postgresql.conf.sample Message-ID: <20220918045306.GT31833@telsasoft.com> References: <20220713173000.GD18011@telsasoft.com> <20220713235444.GF18011@telsasoft.com> <20220719.150427.952514686871468436.horikyota.ntt@gmail.com> <20220720051226.GH12702@telsasoft.com> <20220728222734.GA1913@telsasoft.com> <20220913004303.GM31833@telsasoft.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="NSyv3PxMn0vTUI/G" Content-Disposition: inline In-Reply-To: <20220913004303.GM31833@telsasoft.com> 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 --NSyv3PxMn0vTUI/G Content-Type: text/plain; charset=us-ascii Content-Disposition: inline This is an alternative implementation, which still relies on adding the GUC_DYNAMIC, flag but doesn't require adding a new, sql-accessible function to convert the GUC to a pretty/human display value. --NSyv3PxMn0vTUI/G Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="0001-add-DYNAMIC_DEFAULT-for-settings-which-vary-by-.-con.patch"