On Sat, Nov 15, 2025 at 9:32 AM Bruce Momjian <[email protected]> wrote:

> Uh, it is the _optimizer_ statistics that are preserved by pg_upgrade,
>

Specifically, check out the pg_stats view. Try this on your new cluster:

select count(distinct tablename) from pg_stats where tablename !~
'pg_|sql_';

Cheers,
Greg

--
Crunchy Data - https://www.crunchydata.com
Enterprise Postgres Software Products & Tech Support

Reply via email to