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-000Tj5-1W@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
------
master

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

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]