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 1u5Ps5-00HXZK-7U for pgsql-general@arkaria.postgresql.org; Thu, 17 Apr 2025 14:05:41 +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 1u5Ps3-008kMg-FO for pgsql-general@arkaria.postgresql.org; Thu, 17 Apr 2025 14:05:40 +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 1u5Ps3-008kMY-2Y for pgsql-general@lists.postgresql.org; Thu, 17 Apr 2025 14:05:39 +0000 Received: from mail-lf1-x134.google.com ([2a00:1450:4864:20::134]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1u5Ps0-000a01-2k for pgsql-general@postgresql.org; Thu, 17 Apr 2025 14:05:39 +0000 Received: by mail-lf1-x134.google.com with SMTP id 2adb3069b0e04-5499cca5ddbso152751e87.1 for ; Thu, 17 Apr 2025 07:05:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1744898736; x=1745503536; darn=postgresql.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=La1RelNcSBQAy/2eB5A+e8jyaUXNqv1CpFU/1WAgCCw=; b=asj/pKwygsPTKG5ysZbWglu/aOPHRmetaRuWhXXVK5VL5ilJtqKz/3+EyN87en3tRv IieMATN8BFCn2/f1qNdKWvgve4yU4m+l2iZbDNnaZGvI5py+QXCuo6zQZ4pfVWyofMVG kvLTvoJcAo+Yx8/3tQ6Hn7Ss6SJVxSwhjftSXXzg0L8ayiKedqeK0XFa5NEFWlJnqggy heh/CYS55+lsVS+vJwIy2xeOhLiyqOXXO942nz4Ll/zJ/5s6K2gV3SNrH/z2FQhDs8r5 eYIoll8jXc+q6elcGkYMp5ZWeO0SR68YEEe3GvtaUN0k60W16bW+fcAoHZZTYTmNBB69 zWEQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1744898736; x=1745503536; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=La1RelNcSBQAy/2eB5A+e8jyaUXNqv1CpFU/1WAgCCw=; b=jEMRuJg0EyWFO1OJtW3SyfijpBdMzVKL87ry3n43K0P584BRf5qJU2gwpm3NzoclGG Zr1XopC8032AcWe8ewyCWMhXGjfMPdC2OiM10lDbhg0CAEqrxY9X1arrF7ksrBAuRs1l BQVpZUzgEodmtBhw7KRKhai/itTznZA6gwA6hY3JDBIv5Vq/JUEgyV33xNdflEQW/Ayo PN7gEiZoOW9Xz2J5S+vKdXbcrYjYf5M/ohVBEU4zmetCUg2KWzj0Rcs0lK3zM0gdP0oU DlkmZgKwo0jrJ8cajfBnjsnvRmI4z1A6xdkQqlrKm10QF+vWsNKsmOX5qna2hpQUOxJP rJQg== X-Gm-Message-State: AOJu0YzjtRqWvNyh8WdQUrbaywpYWCDHl1Pqg3CwwJimGmKcnCMeObpM h56mvdTfZ3SCIe0ctfKSVSXnlAJQSDmGm1PxNVTObK67N0XoG3hitXFdBQ== X-Gm-Gg: ASbGnctKQEXqmVMDlAOWOgYFD9C1e/BqOVUZnDacHQH7NoifY4F47ybJ6hFZFrQzEjn 4SfA18fAZjVLy6saVffVVUBiV0OutLxj5eW17plswmAhEsIDJ9BAIHA7d1bsZs6pD5MbDk/oci2 ymfRN05jZ/l7x2Jo+YIPDqZCFmfMqRwo8T+LHBwlwTdcQIa4WolSGQ25wIGi72BwSPLnEHYtvVJ myPBRkNojtC/MNI0cD9tzrdxHiJ/GQA5EQ+R/eP26mWMqoP5hJ359BglrW/N3Z7vSe7FKIF6P1s FdNu6iaPoktMT0ZhktnzVlbNmdikj0SK8r5A X-Google-Smtp-Source: AGHT+IHxMIDsb+lRaSZvc1vFD6EJ7eQa2r/w9kuNcaDGUlLVG+zIr71BT2Pk6qGM3XcwRzuGXm7r7w== X-Received: by 2002:a2e:ad13:0:b0:30b:c980:c5ab with SMTP id 38308e7fff4ca-310856ba1d3mr4765911fa.1.1744898736084; Thu, 17 Apr 2025 07:05:36 -0700 (PDT) Received: from erp07.git.ru ([94.79.3.94]) by smtp.gmail.com with ESMTPSA id 38308e7fff4ca-30f466223a7sm28145641fa.114.2025.04.17.07.05.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 17 Apr 2025 07:05:35 -0700 (PDT) Date: Thu, 17 Apr 2025 17:05:34 +0300 From: Anton Shepelev To: Tom Lane Cc: pgsql-general@postgresql.org Subject: Re: Cannot turn track_counts on Message-Id: <20250417170534.b2e919e950b77c4d4dbd5483@gmail.com> In-Reply-To: <1900177.1744815217@sss.pgh.pa.us> References: <20250416122749.2b2d25cafcd76aa7d633ed07@gmail.com> <1900177.1744815217@sss.pgh.pa.us> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.30; i686-pc-mingw32) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Tom Lane to Anton Shepelev: > > I have a Postgres sever with the 'track_counts' setting > > stuck in 'off'. [...] > > 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. Thanks for checking it, Tom. > What extensions do you have installed? Nothing much: db=# show shared_preload_libraries; shared_preload_libraries --------------------------- online_analyze, plantuner db=# \dx List of installed extensions Name | Version | Schema | Description ---------+---------+------------+------------------------------ plpgsql | 1.0 | pg_catalog | PL/pgSQL procedural language -- () ascii ribbon campaign -- against html e-mail /\ www.asciiribbon.org -- against proprietary attachments