Re: pgsql: Remove redundant pg_set_*_stats() variants.

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: Jeff Davis <jdavis(at)postgresql(dot)org>
Cc: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: Re: pgsql: Remove redundant pg_set_*_stats() variants.
Date: 2025-02-26 07:53:54
Message-ID: Z77IkjmmfbFfNh3f@paquier.xyz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Hi Jeff,

On Wed, Feb 26, 2025 at 12:17:03AM +0000, Jeff Davis wrote:
> Remove redundant pg_set_*_stats() variants.
>
> After commit f3dae2ae58, the primary purpose of separating the
> pg_set_*_stats() from the pg_restore_*_stats() variants was
> eliminated.
>
> Leave pg_restore_relation_stats() and pg_restore_attribute_stats(),
> which satisfy both purposes, and remove pg_set_relation_stats() and
> pg_set_attribute_stats().
>
> Reviewed-by: Corey Huinker <corey(dot)huinker(at)gmail(dot)com>
> Discussion: https://postgr.es/m/1457469.1740419458@sss.pgh.pa.us

I assume that you did not want to do that at the top of pg_proc.dat:
-#----------------------------------------------------------------------
+\#----------------------------------------------------------------------
--
Michael

In response to

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2025-02-26 15:31:43 pgsql: Prepare for Python "Limited API" in PL/Python
Previous Message Michael Paquier 2025-02-26 07:50:27 pgsql: Adding new PgStat_WalCounters structure in pgstat.h