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-02-10 03:56:51
Message-ID: aYqsgyXrcD_TEdsc@paquier.xyz
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mon, Feb 09, 2026 at 03:09:49PM -0500, Corey Huinker wrote:
> 0002 - minor tweaks to get v8 to build, kept separate to make applying on
> top of v8 easier

This is very slightly embarrassing. Compilation was warning here,
just missed it. Thanks.

> 0004 - Add the 3 range-stats to pg_stats_ext_exprs

This needed documentation and tests. The former can be mostly taken
from pg_stats, at the difference that we are dealing with expressions
and not columns. The latter can use a test with an expression based
on a range type, so as the fields queries are not NULL. Added both of
these, and applied this patch.
--
Michael

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Chao Li 2026-02-10 04:50:53 Re: Enhancing Memory Context Statistics Reporting
Previous Message Fujii Masao 2026-02-10 03:26:36 Re: recovery.signal not cleaned up when both signal files are present