]> granicus.if.org Git - postgresql/commit
Remove unused functions in regress.c.
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 27 Feb 2018 16:11:25 +0000 (11:11 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 27 Feb 2018 16:11:25 +0000 (11:11 -0500)
commitdb3af9feb19f39827e916145f88fa5eca3130cb2
tree826c301d69d81bc1ceb9a2f8eec187db451a4407
parent364de256651458f2442811bae10b0c808bc00a98
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
src/test/regress/expected/triggers.out
src/test/regress/input/create_function_1.source
src/test/regress/input/create_function_2.source
src/test/regress/output/create_function_1.source
src/test/regress/output/create_function_2.source
src/test/regress/regress.c
src/test/regress/sql/triggers.sql