Re: Cannot turn track_counts on

From: Anton Shepelev <anton(dot)txt(at)gmail(dot)com>
To: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Cannot turn track_counts on
Date: 2025-04-16 16:25:56
Message-ID: 20250416192556.1317af210ae075d25f166585@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Adrian Klaver:
> Anton Shepelev:
>
> > have a Postgres sever with the 'track_counts'
> > setting stuck in 'off'.
> > [...]
> > name | track_counts
> > setting | on
> > source | override
>
> This shows a setting of 'on' not the 'off' you mention in
> the first paragraph.

I beg pardon. Having no immediate access to the system in
question, I confess to having mocked up those results from
an analogous query on our reference system. Here is the
actual result from the affected server (db name changed):

db=# select * from pg_settings where name = 'track_counts';
-[ RECORD 1 ]---+--------------------------------------------------
name | track_counts
setting | off
unit |
category | Statistics / Query and Index Statistics Collector
short_desc | Collects statistics on database activity.
extra_desc |
context | superuser
vartype | bool
source | override
min_val |
max_val |
enumvals |
boot_val | on
reset_val | off
sourcefile |
sourceline |
pending_restart | f

It was very wrong of me so to misinform you.

--
() 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 Anton Shepelev 2025-04-16 16:34:07 Re: Cannot turn track_counts on
Previous Message Tom Lane 2025-04-16 16:08:53 Re: Fwd: Identify system databases