pgsql: Remove unused functions in regress.c.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Remove unused functions in regress.c.
Дата
Msg-id E1eqioe-0002Zp-4o@gemulon.postgresql.org
обсуждение исходный текст
Список 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(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Magnus Hagander
Дата:
Сообщение: pgsql: Revert restructuring of bin/scripts/Makefile
Следующее
От: Robert Haas
Дата:
Сообщение: pgsql: Fix logic error in add_paths_to_partial_grouping_rel.