Re: Cannot turn track_counts on

From: Daniel Gustafsson <daniel(at)yesql(dot)se>
To: Anton Shepelev <anton(dot)txt(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Subject: Re: Cannot turn track_counts on
Date: 2025-04-16 15:03:46
Message-ID: B8898FC6-79BD-48AD-90A6-55A37BE9BA43@yesql.se
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

> On 16 Apr 2025, at 16:53, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
>
> Anton Shepelev <anton(dot)txt(at)gmail(dot)com> writes:
>> pg_settings shows:
>
>> name | track_counts
>> setting | on
>> source | override
>
>> What does 'override' mean in the 'source' column? How can I
>> find where in the system this setting is overridden?
>
> 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.
>
> 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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Dominique Devienne 2025-04-16 15:06:57 Re: Fwd: Identify system databases
Previous Message Tom Lane 2025-04-16 14:53:37 Re: Cannot turn track_counts on