From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@postgresql.org
Subject: pgsql: Remove unused functions in regress.c.
Date: Tue, 27 Feb 2018 17:13:24 +0000
Message-ID: <E1eqioe-0002Zp-4o@gemulon.postgresql.org> (raw)
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(-)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: tgl@sss.pgh.pa.us
Subject: Re: pgsql: Remove unused functions in regress.c.
In-Reply-To: <E1eqioe-0002Zp-4o@gemulon.postgresql.org>
References: <E1eqioe-0002Zp-4o@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox