Re: Add expressions to pg_restore_extended_stats()

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: Corey Huinker <corey(dot)huinker(at)gmail(dot)com>
Cc: Chao Li <li(dot)evan(dot)chao(at)gmail(dot)com>, Tender Wang <tndrwang(at)gmail(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>, Tomas Vondra <tomas(at)vondra(dot)me>
Subject: Re: Add expressions to pg_restore_extended_stats()
Date: 2026-03-04 06:19:04
Message-ID: aafO2CfbzYC3y-6b@paquier.xyz
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, Mar 04, 2026 at 01:06:17AM -0500, Corey Huinker wrote:
> Not that I can see. Thanks for all the hard work!

There was actually something standing on top of my mind? How about
some refactoring of stats_import.sql regarding the queries that check
the diffs in stats? I was wondering if we could limit the bloat by
encapsulating these in one or more PL or SQL functions that provide
records of the diff records found, if any. Not mandatory, still that
could be nice..
--
Michael

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paquier 2026-03-04 06:29:35 Re: BUG: Former primary node might stuck when started as a standby
Previous Message Chao Li 2026-03-04 06:17:41 Re: Cleanup shadows variable warnings, round 1