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 1u5QzG-000Dya-6p for pgsql-general@arkaria.postgresql.org; Thu, 17 Apr 2025 15:17:10 +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 1u5QzD-00AT27-4O for pgsql-general@arkaria.postgresql.org; Thu, 17 Apr 2025 15:17:07 +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 1u5QzB-00ASwo-TP for pgsql-general@lists.postgresql.org; Thu, 17 Apr 2025 15:17:07 +0000 Received: from fout-b3-smtp.messagingengine.com ([202.12.124.146]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1u5Qz7-000aaV-2Z for pgsql-general@postgresql.org; Thu, 17 Apr 2025 15:17:06 +0000 Received: from phl-compute-05.internal (phl-compute-05.phl.internal [10.202.2.45]) by mailfout.stl.internal (Postfix) with ESMTP id 6774711401CD; Thu, 17 Apr 2025 11:17:00 -0400 (EDT) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-05.internal (MEProxy); Thu, 17 Apr 2025 11:17:00 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= cc:cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm1; t=1744903020; x=1744989420; bh=mnTXOxlHiEnoO+nEoKKP2Lb4EqhT0jfEPHV/rORK+ik=; b= N1Ug/9JJWsEawO6q0HPLTGm2RcLYln8zFV2JAhpqTlkkOdlTEesCwmnR5zwB48e7 wlAk18h2Kh0FO2b95kloMvvBd84m0FvXMZsfuS9dhGuV9d6bA3FCJvvAlTbj2E3c N4ZCHUdGuQhBUsZokPYL4x1/moeMcbuRKCkJ9d7DKNI9JEQNKDgZcSH+svyEvyVa mYIdI4RVzXxRR3H6BV+laIQWFyCq5uS98Ut4JXiUPmObQ71TeR1shB0gy9HwKp9s hxRXaOyeyZ22E0PYuMYJ7PdtzFRkDgpsLX3HINq1hfK05w9g+Fteys8x35faBsdt K02f9ZX/wW8ncwPkqccHWw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1744903020; x= 1744989420; bh=mnTXOxlHiEnoO+nEoKKP2Lb4EqhT0jfEPHV/rORK+ik=; b=O wX+SRvUp1mNuRajaPNcDESJYMIaN5/WQ+8LkIKD1mkNTp1EmyFsNcMrg92fK9mBJ g3pFxcyG0aUopiP1Eu7iO9mBUoYpowjb3etiOWXJcdvpXVT9lKPgsO55+jENKsgX lprMtFX8xr0Tk8PFwnK4/D6oLpj50vdkz7FcRAKYx33t8ciCOxV8w0kfqgmD5yAr kR8S0nFsZG313sK+5EBLUpiWjdYlxAzDLhhjvS4EIdyfCCRaoVmWD99X3OPIVRRI NemTMKUpf26q4XnkNeYMAhRQS9Rl4hKM2PwHAcX5ImCsrF2ozlOtgthYezKY3jVK uhkAXs/LMb7xO76YAbzXg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgddvvdeliedtucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggv pdfurfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucenucfjughrpefkff ggfgfuvfevfhfhjggtgfesthejredttddvjeenucfhrhhomheptegurhhirghnucfmlhgr vhgvrhcuoegrughrihgrnhdrkhhlrghvvghrsegrkhhlrghvvghrrdgtohhmqeenucggtf frrghtthgvrhhnpeejuedtgfeiheefueevhfekkeeljeeguddtvedvleegiedvhfduuddv tefhhfelffenucffohhmrghinhepghhithhhuhgsrdgtohhmnecuvehluhhsthgvrhfuih iivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprggurhhirghnrdhklhgrvhgvrhes rghklhgrvhgvrhdrtghomhdpnhgspghrtghpthhtohepfedpmhhouggvpehsmhhtphhouh htpdhrtghpthhtohepthhglhesshhsshdrphhghhdrphgrrdhushdprhgtphhtthhopegr nhhtohhnrdhtgihtsehgmhgrihhlrdgtohhmpdhrtghpthhtohepphhgshhqlhdqghgvnh gvrhgrlhesphhoshhtghhrvghsqhhlrdhorhhg X-ME-Proxy: Feedback-ID: i76984098:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 17 Apr 2025 11:16:59 -0400 (EDT) Message-ID: Date: Thu, 17 Apr 2025 08:16:58 -0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Cannot turn track_counts on To: Tom Lane , Anton Shepelev Cc: pgsql-general@postgresql.org References: <20250416122749.2b2d25cafcd76aa7d633ed07@gmail.com> <1900177.1744815217@sss.pgh.pa.us> <20250417170534.b2e919e950b77c4d4dbd5483@gmail.com> <2195604.1744899798@sss.pgh.pa.us> Content-Language: en-US From: Adrian Klaver In-Reply-To: <2195604.1744899798@sss.pgh.pa.us> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 4/17/25 07:23, Tom Lane wrote: > Anton Shepelev writes: >>> What extensions do you have installed? > >> Nothing much: > >> db=# show shared_preload_libraries; >> shared_preload_libraries >> --------------------------- >> online_analyze, plantuner > > Never heard of either of those, but just from the names, they sound > like they might be things that would take it on themselves to fool > with your stats-collection settings. I'd check their code for > something close to > > SetConfigOption("track_counts", ..., PGC_S_OVERRIDE); I found this: https://github.com/postgrespro/plantuner/blob/master/plantuner.c Could not see PGC_S_OVERRIDE in it. For online_analyze the only code I could find is old: https://github.com/postgrespro/pgwininstall/blob/master/patches/postgresql/9.6/online_analyze.patch Again no PGC_S_OVERRIDE. > > regards, tom lane > > -- Adrian Klaver adrian.klaver@aklaver.com