From: | Jeff Davis <jdavis(at)postgresql(dot)org> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Use in-place updates for pg_restore_relation_stats(). |
Date: | 2024-12-11 00:42:26 |
Message-ID: | [email protected] |
Views: | Whole Thread | Raw Message | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
Use in-place updates for pg_restore_relation_stats().
This matches the behavior of vac_update_relstats(), which is important
to avoid bloating pg_class.
Author: Corey Huinker
Discussion: https://postgr.es/m/CADkLM=fc3je+ufv3gsHqjjSSf+t8674RXpuXW62EL55MUEQd-g@mail.gmail.com
Branch
------
master
Modified Files
--------------
doc/src/sgml/func.sgml | 8 ++
src/backend/statistics/relation_stats.c | 200 +++++++++++++++++++----------
src/test/regress/expected/stats_import.out | 61 +++++++++
src/test/regress/sql/stats_import.sql | 37 ++++++
4 files changed, 235 insertions(+), 71 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | David Rowley | 2024-12-11 00:47:34 | pgsql: Use ExprStates for hashing in GROUP BY and SubPlans |
Previous Message | Michael Paquier | 2024-12-10 23:49:51 | pgsql: Improve reporting of pg_upgrade log files on test failure |