Skip to content

Commit d6ff2e3

Browse files
committed
Remove regression tests' CREATE FUNCTION commands for unused C functions.
I removed these functions altogether in HEAD, in commit db3af9f, 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 db3af9f, namely just removing the CREATE FUNCTION commands. Discussion: https://postgr.es/m/11927.1519756619@sss.pgh.pa.us
1 parent b45f821 commit d6ff2e3

File tree

4 files changed

+0
-18
lines changed

4 files changed

+0
-18
lines changed

src/test/regress/input/create_function_1.source

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,6 @@ CREATE FUNCTION autoinc ()
3737
AS '@libdir@/autoinc@DLSUFFIX@'
3838
LANGUAGE C;
3939

40-
CREATE FUNCTION funny_dup17 ()
41-
RETURNS trigger
42-
AS '@libdir@/regress@DLSUFFIX@'
43-
LANGUAGE C;
44-
4540
CREATE FUNCTION trigger_return_old ()
4641
RETURNS trigger
4742
AS '@libdir@/regress@DLSUFFIX@'

src/test/regress/input/create_function_2.source

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -72,11 +72,6 @@ CREATE FUNCTION overpaid(emp)
7272
AS '@libdir@/regress@DLSUFFIX@'
7373
LANGUAGE C STRICT;
7474

75-
CREATE FUNCTION boxarea(box)
76-
RETURNS float8
77-
AS '@libdir@/regress@DLSUFFIX@'
78-
LANGUAGE C STRICT;
79-
8075
CREATE FUNCTION interpt_pp(path, path)
8176
RETURNS point
8277
AS '@libdir@/regress@DLSUFFIX@'

src/test/regress/output/create_function_1.source

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,6 @@ CREATE FUNCTION autoinc ()
3535
RETURNS trigger
3636
AS '@libdir@/autoinc@DLSUFFIX@'
3737
LANGUAGE C;
38-
CREATE FUNCTION funny_dup17 ()
39-
RETURNS trigger
40-
AS '@libdir@/regress@DLSUFFIX@'
41-
LANGUAGE C;
4238
CREATE FUNCTION trigger_return_old ()
4339
RETURNS trigger
4440
AS '@libdir@/regress@DLSUFFIX@'

src/test/regress/output/create_function_2.source

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,6 @@ CREATE FUNCTION overpaid(emp)
5555
RETURNS bool
5656
AS '@libdir@/regress@DLSUFFIX@'
5757
LANGUAGE C STRICT;
58-
CREATE FUNCTION boxarea(box)
59-
RETURNS float8
60-
AS '@libdir@/regress@DLSUFFIX@'
61-
LANGUAGE C STRICT;
6258
CREATE FUNCTION interpt_pp(path, path)
6359
RETURNS point
6460
AS '@libdir@/regress@DLSUFFIX@'

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy