Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1u54J0-00Bgh3-CR for pgsql-general@arkaria.postgresql.org; Wed, 16 Apr 2025 15:04:02 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1u54Ix-00GgFb-MW for pgsql-general@arkaria.postgresql.org; Wed, 16 Apr 2025 15:04:00 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1u54Ix-00GgFT-Ag for pgsql-general@lists.postgresql.org; Wed, 16 Apr 2025 15:04:00 +0000 Received: from smtp.outgoing.loopia.se ([93.188.3.37]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1u54Iv-000PVn-0S for pgsql-general@postgresql.org; Wed, 16 Apr 2025 15:03:59 +0000 Received: from s807.loopia.se (localhost [127.0.0.1]) by s807.loopia.se (Postfix) with ESMTP id 94D683770FB for ; Wed, 16 Apr 2025 17:03:57 +0200 (CEST) Received: from s981.loopia.se (unknown [172.22.191.5]) by s807.loopia.se (Postfix) with ESMTP id 7F3C33774E7; Wed, 16 Apr 2025 17:03:57 +0200 (CEST) Received: from s471.loopia.se (unknown [172.22.191.5]) by s981.loopia.se (Postfix) with ESMTP id 7D36E22B17A4; Wed, 16 Apr 2025 17:03:57 +0200 (CEST) X-Virus-Scanned: amavisd-new at amavis.loopia.se X-Spam-Flag: NO X-Spam-Score: -1.2 X-Spam-Level: X-Spam-Status: No, score=-1.2 tagged_above=-999 required=6.2 tests=[ALL_TRUSTED=-1, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1] autolearn=disabled Authentication-Results: s471.loopia.se (amavisd-new); dkim=pass (2048-bit key) header.d=yesql.se Received: from s981.loopia.se ([172.22.191.6]) by s471.loopia.se (s471.loopia.se [172.22.190.35]) (amavisd-new, port 10024) with LMTP id N6lfKmhU7GkG; Wed, 16 Apr 2025 17:03:57 +0200 (CEST) X-Loopia-Auth: user X-Loopia-User: daniel@yesql.se X-Loopia-Originating-IP: 89.255.232.193 Received: from smtpclient.apple (customer-89-255-232-193.stosn.net [89.255.232.193]) (Authenticated sender: daniel@yesql.se) by s981.loopia.se (Postfix) with ESMTPSA id E957722B17BB; Wed, 16 Apr 2025 17:03:56 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yesql.se; s=loopiadkim1707475645; t=1744815837; bh=rxYVWnJ8EBmbMsVhXz1dt3LAIed9eUb1WHShdJKtOL8=; h=Subject:From:In-Reply-To:Date:Cc:References:To; b=EfuWZevFhbbfcump7FcS+Y0Vda7GqFmSxvQ2J8Jkjwe/WauWiikJXL+knvd1yMEYb NMCm3k7M0QgDVR//R42NHi4dSvx4/ZQgEHEZHL/697p7+VKJtfT9ESWQWF68q1Iyas IE/k5N7zB+kGRuGBvZe26W9+MG7aPLWQsr57273JkUDkBZXl+fIRx8l1AjTwaPiZDD Rkqvn6TNVfFPb9p+C0vx/cfSbN+ifjvajZeAhpyDcDoPAlDZUyBwEUO0PvuWc2bNDW P+cBr4xAwR0OD3p+5RqVb2veS/HnnuzbrwtDV5VsKbI0JrC64KXpK9NjEZ7KVum9B+ 2quWNONWdNeJw== Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3776.700.51.11.1\)) Subject: Re: Cannot turn track_counts on From: Daniel Gustafsson In-Reply-To: <1900177.1744815217@sss.pgh.pa.us> Date: Wed, 16 Apr 2025 17:03:46 +0200 Cc: pgsql-general@postgresql.org, Tom Lane Content-Transfer-Encoding: quoted-printable Message-Id: References: <20250416122749.2b2d25cafcd76aa7d633ed07@gmail.com> <1900177.1744815217@sss.pgh.pa.us> To: Anton Shepelev X-Mailer: Apple Mail (2.3776.700.51.11.1) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk > On 16 Apr 2025, at 16:53, Tom Lane wrote: >=20 > Anton Shepelev writes: >> pg_settings shows: >=20 >> name | track_counts >> setting | on >> source | override >=20 >> What does 'override' mean in the 'source' column? How can I >> find where in the system this setting is overridden? >=20 > I am fairly certain that there is nothing in core Postgres that > would do that. PGC_S_OVERRIDE is used to lock down the values > of certain variables that shouldn't be allowed to change, but > track_counts surely isn't one of those. And a quick grep > through the code finds nothing applying PGC_S_OVERRIDE to it. >=20 > What extensions do you have installed? Also, is this by any chance a managed instance like Amazon RDS or Azure, = or is it a local database under your control? -- Daniel Gustafsson