Re: Add a statistics view to track usage of deprecated features

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Michael Paquier <michael(at)paquier(dot)xyz>
Cc: Shinya Kato <shinya11(dot)kato(at)gmail(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Add a statistics view to track usage of deprecated features
Date: 2026-06-29 02:58:37
Message-ID: 1629052.1782701917@sss.pgh.pa.us
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Michael Paquier <michael(at)paquier(dot)xyz> writes:
> On Mon, Jun 29, 2026 at 10:24:02AM +0900, Shinya Kato wrote:
>> I would like to propose a patch that adds a new cumulative statistics
>> view, pg_stat_deprecated_features, which tracks how often each
>> deprecated feature is used across the cluster.

> I am unconvinced that this is useful.

I'm pretty down on it as well, because it presupposes that we have
a well-defined set of deprecated features. We're not that well
organized in that area, and probably never will be.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paquier 2026-06-29 03:00:31 Re: md5_password_warnings for password auth with MD5-encrypted passwords
Previous Message zengman 2026-06-29 02:53:13 Re: (SQL/PGQ) Clean up orphaned properties when dropping a label