Re: Cannot turn track_counts on

From: Anton Shepelev <anton(dot)txt(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Cannot turn track_counts on
Date: 2025-04-17 14:05:34
Message-ID: 20250417170534.b2e919e950b77c4d4dbd5483@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2025-04-17 14:15:52 Re: Request for official clarification on SQL parameter parsing changes in PostgreSQL 15 and 16
Previous Message Laurenz Albe 2025-04-17 13:41:19 Re: Request for official clarification on SQL parameter parsing changes in PostgreSQL 15 and 16