pgsql: pg_dump: Remove dead code in TAP tests

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: pg_dump: Remove dead code in TAP tests
Date: 2026-06-15 23:34:14
Message-ID: E1wZGoo-000Tj7-1c@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

pg_dump: Remove dead code in TAP tests

The schema_only_with_statistics test scenario was referenced in
002_pg_dump.pl, but was associated to no command sequence since
0ed92cf50cc4.

Issue discovered while investigating a different bug. Perhaps this
cleanup is not worth backpatching, but there is also an argument in
favor of reducing noise when touching this area of the code in stable
branches.

Reviewed-by: Ewan Young <kdbase(dot)hack(at)gmail(dot)com>
Reviewed-by: Ayush Tiwari <ayushtiwari(dot)slg01(at)gmail(dot)com>
Discussion: https://postgr.es/m/ai-y0S7Z25NlrG_n@paquier.xyz
Backpatch-through: 18

Branch
------
REL_18_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/54ffa74c9924a14691bb4cb196cb49e43a9fbd76

Modified Files
--------------
src/bin/pg_dump/t/002_pg_dump.pl | 22 +---------------------
1 file changed, 1 insertion(+), 21 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message David Rowley 2026-06-16 01:43:35 pgsql: Fix various query jumble comments
Previous Message Michael Paquier 2026-06-15 23:23:55 pgsql: Fix inconsistencies with pg_restore --statistics[-only]