Re: Add expressions to pg_restore_extended_stats() - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: Add expressions to pg_restore_extended_stats()
Date
Msg-id aan9wOvxEYRLnEv0@paquier.xyz
Whole thread Raw
In response to Re: Add expressions to pg_restore_extended_stats()  (Corey Huinker <corey.huinker@gmail.com>)
Responses Re: Add expressions to pg_restore_extended_stats()
List pgsql-hackers
On Thu, Mar 05, 2026 at 03:20:07PM -0500, Corey Huinker wrote:
> If this seems more elegant than what we have now, I'll write up a formal
> patch for the three set-difference types (attstats, extended, extended
> exprs).

Yes, the reduction of the bloat is nice to see:
 1 file changed, 52 insertions(+), 105 deletions(-)

Extending this concept to all of them should mean close to three times
the same amount of code shaved.
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: Corey Huinker
Date:
Subject: Re: Add starelid, attnum to pg_stats and leverage this in pg_dump
Next
From: Andrew Dunstan
Date:
Subject: Re: finish TODOs in to_json_is_immutable, to_jsonb_is_immutable also add tests on it