]> granicus.if.org Git - postgresql/commitdiff
Remove regression tests' CREATE FUNCTION commands for unused C functions.
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 27 Feb 2018 20:04:21 +0000 (15:04 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 27 Feb 2018 20:04:40 +0000 (15:04 -0500)
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

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

index f89038eb5e91d4600845a9cabad47da1ab4b80be..3d19bd4e7dfd4786f6609cc21884556fffc3facc 100644 (file)
@@ -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@'
index 3c26b2fec6ac7051d1979d4128c10be47d21c7e4..0f7852c42e88d3f5cd7ef8efb9ceec8588a3dab0 100644 (file)
@@ -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@'
index 9e96795e889b5d16014736b7086213f9054eeda2..7870103d943b90217072eedaf1b1d442cefccc6a 100644 (file)
@@ -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@'
index bdd1b1bec56244873d80d761ddd832063b8bd2b7..28b098aa6b84647539a7ef818e8b020c49f3ac0c 100644 (file)
@@ -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@'