aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2018-02-27 15:04:21 -0500
committerTom Lane <tgl@sss.pgh.pa.us>2018-02-27 15:04:48 -0500
commit85be69154a1edc9abd9e1557ad7b2f09c0ad88bc (patch)
tree2379e966f5a7dfa7910873bcbab92452e2f4e3b7 /src
parent2ee44e10d44b9c8c331040eac76f2769bc80865e (diff)
downloadpostgresql-85be69154a1edc9abd9e1557ad7b2f09c0ad88bc.tar.gz
postgresql-85be69154a1edc9abd9e1557ad7b2f09c0ad88bc.zip
Remove regression tests' CREATE FUNCTION commands for unused C functions.
I removed these functions altogether in HEAD, in commit db3af9feb, and it emerges that that causes trouble for cross-branch upgrade testing. We could put back stub functions but that seems pretty silly. Instead, back-patch a minimal subset of db3af9feb, namely just removing the CREATE FUNCTION commands. Discussion: https://postgr.es/m/11927.1519756619@sss.pgh.pa.us
Diffstat (limited to 'src')
-rw-r--r--src/test/regress/input/create_function_1.source5
-rw-r--r--src/test/regress/input/create_function_2.source5
-rw-r--r--src/test/regress/output/create_function_1.source4
-rw-r--r--src/test/regress/output/create_function_2.source4
4 files changed, 0 insertions, 18 deletions
diff --git a/src/test/regress/input/create_function_1.source b/src/test/regress/input/create_function_1.source
index f89038eb5e9..3d19bd4e7df 100644
--- a/src/test/regress/input/create_function_1.source
+++ b/src/test/regress/input/create_function_1.source
@@ -37,11 +37,6 @@ CREATE FUNCTION autoinc ()
AS '@libdir@/autoinc@DLSUFFIX@'
LANGUAGE C;
-CREATE FUNCTION funny_dup17 ()
- RETURNS trigger
- AS '@libdir@/regress@DLSUFFIX@'
- LANGUAGE C;
-
CREATE FUNCTION trigger_return_old ()
RETURNS trigger
AS '@libdir@/regress@DLSUFFIX@'
diff --git a/src/test/regress/input/create_function_2.source b/src/test/regress/input/create_function_2.source
index 3c26b2fec6a..0f7852c42e8 100644
--- a/src/test/regress/input/create_function_2.source
+++ b/src/test/regress/input/create_function_2.source
@@ -72,11 +72,6 @@ CREATE FUNCTION overpaid(emp)
AS '@libdir@/regress@DLSUFFIX@'
LANGUAGE C STRICT;
-CREATE FUNCTION boxarea(box)
- RETURNS float8
- AS '@libdir@/regress@DLSUFFIX@'
- LANGUAGE C STRICT;
-
CREATE FUNCTION interpt_pp(path, path)
RETURNS point
AS '@libdir@/regress@DLSUFFIX@'
diff --git a/src/test/regress/output/create_function_1.source b/src/test/regress/output/create_function_1.source
index 9e96795e889..7870103d943 100644
--- a/src/test/regress/output/create_function_1.source
+++ b/src/test/regress/output/create_function_1.source
@@ -35,10 +35,6 @@ CREATE FUNCTION autoinc ()
RETURNS trigger
AS '@libdir@/autoinc@DLSUFFIX@'
LANGUAGE C;
-CREATE FUNCTION funny_dup17 ()
- RETURNS trigger
- AS '@libdir@/regress@DLSUFFIX@'
- LANGUAGE C;
CREATE FUNCTION trigger_return_old ()
RETURNS trigger
AS '@libdir@/regress@DLSUFFIX@'
diff --git a/src/test/regress/output/create_function_2.source b/src/test/regress/output/create_function_2.source
index bdd1b1bec56..28b098aa6b8 100644
--- a/src/test/regress/output/create_function_2.source
+++ b/src/test/regress/output/create_function_2.source
@@ -55,10 +55,6 @@ CREATE FUNCTION overpaid(emp)
RETURNS bool
AS '@libdir@/regress@DLSUFFIX@'
LANGUAGE C STRICT;
-CREATE FUNCTION boxarea(box)
- RETURNS float8
- AS '@libdir@/regress@DLSUFFIX@'
- LANGUAGE C STRICT;
CREATE FUNCTION interpt_pp(path, path)
RETURNS point
AS '@libdir@/regress@DLSUFFIX@'