pgsql: Remove unused functions in regress.c.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Remove unused functions in regress.c.
Date: 2018-02-27 17:13:24
Message-ID: E1eqioe-0002Zp-4o@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Remove unused functions in regress.c.

This patch removes five functions that presumably were once used in the
regression tests, but haven't been so used in many years. Nonetheless
we've been wasting maintenance effort on them (e.g., by converting them
to V1 function protocol). I see no reason to think that reviving them
would add any useful test coverage, so drop 'em.

In passing, mark regress_lseg_construct static, since it's not called
from outside this file.

Discussion: https://postgr.es/m/29322.1519701006@sss.pgh.pa.us

Branch
------
master

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

Modified Files
--------------
src/test/regress/expected/triggers.out | 34 ----
src/test/regress/input/create_function_1.source | 5 -
src/test/regress/input/create_function_2.source | 5 -
src/test/regress/output/create_function_1.source | 4 -
src/test/regress/output/create_function_2.source | 4 -
src/test/regress/regress.c | 244 +----------------------
src/test/regress/sql/triggers.sql | 35 ----
7 files changed, 2 insertions(+), 329 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Robert Haas 2018-02-27 18:27:49 pgsql: Fix logic error in add_paths_to_partial_grouping_rel.
Previous Message Magnus Hagander 2018-02-27 13:13:53 pgsql: Revert restructuring of bin/scripts/Makefile