pgsql: Add output test for pg_dependencies statistics import

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Add output test for pg_dependencies statistics import
Date: 2026-01-27 23:38:54
Message-ID: E1vkse5-0033Z6-1K@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Add output test for pg_dependencies statistics import

Commit 302879bd68d115 has added the ability to restore extended stats of
the type "dependencies", but it has forgotten the addition of a test to
verify that the value restored was actually set.

This test is the pg_dependencies equivalent of the test added for
pg_ndistinct in 0e80f3f88dea.

Author: Corey Huinker <corey(dot)huinker(at)gmail(dot)com>
Discussion: https://postgr.es/m/CADkLM=dZr_Ut3jKw94_BisyyDtNZPRJWeOALXVzcJz=ZFTAhvQ@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/f9562b95c6e8a66b4cd081f09cc600bf7a364c46

Modified Files
--------------
src/test/regress/expected/stats_import.out | 12 ++++++++++++
src/test/regress/sql/stats_import.sql | 7 +++++++
2 files changed, 19 insertions(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Michael Paquier 2026-01-28 03:00:33 pgsql: Fix pg_restore_extended_stats() with expressions
Previous Message Jacob Champion 2026-01-27 20:05:28 pgsql: oauth: Correct test dependency on oauth_hook_client