postgres.git / summary / log / commit / refs

commit    0c4af129941b50d2cff65780ccf82c1e4b075a2d
Author:   Tom Lane <tgl@sss.pgh.pa.us>
Date:     Tue Feb 27 20:04:21 2018 +0000
First released in: 9.3.23, 9.4.18, 9.5.13, 9.6.9, 10.4

    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


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 ---- 4 files changed, 18 deletions(-) diff --git a/src/test/regress/input/create_function_1.source b/src/test/regress/input/create_function_1.source index de1e7054eaf..18da6ad4e7c 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 8563aa0b8f9..bc4a2fa446a 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@' [parent: 9bc33ef5ece9]