Re: Add starelid, attnum to pg_stats and leverage this in pg_dump

From: Nathan Bossart <nathandbossart(at)gmail(dot)com>
To: Sami Imseih <samimseih(at)gmail(dot)com>
Cc: Corey Huinker <corey(dot)huinker(at)gmail(dot)com>, pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: Add starelid, attnum to pg_stats and leverage this in pg_dump
Date: 2026-03-09 15:51:01
Message-ID: aa7sZcuRrlkeVJGX@nathan
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mon, Mar 09, 2026 at 10:44:58AM -0500, Sami Imseih wrote:
>> Oh, a question I forgot to ask: why wouldn't we do the same thing for
>> pg_stats_ext and pg_stats_ext_exprs?
>
> [...]
>
> If we do add relid there, it will be for consistency only.

It might be only for consistency for now, but it strikes me as something
that could be handy down the road (in which case it'd be nice to minimize
the number of versions that need a fallback).

--
nathan

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Ahmed Et-tanany 2026-03-09 16:09:13 Re: [PATCH] Add max_logical_replication_slots GUC
Previous Message Alena Rybakina 2026-03-09 15:46:14 Re: Vacuum statistics