5 CREATE FUNCTION widget_in(cstring)
7 AS '@libdir@/regress@DLSUFFIX@'
10 CREATE FUNCTION widget_out(widget)
12 AS '@libdir@/regress@DLSUFFIX@'
15 CREATE FUNCTION int44in(cstring)
17 AS '@libdir@/regress@DLSUFFIX@'
20 CREATE FUNCTION int44out(city_budget)
22 AS '@libdir@/regress@DLSUFFIX@'
25 CREATE FUNCTION check_primary_key ()
27 AS '@libdir@/refint@DLSUFFIX@'
30 CREATE FUNCTION check_foreign_key ()
32 AS '@libdir@/refint@DLSUFFIX@'
35 CREATE FUNCTION autoinc ()
37 AS '@libdir@/autoinc@DLSUFFIX@'
40 CREATE FUNCTION funny_dup17 ()
42 AS '@libdir@/regress@DLSUFFIX@'
45 CREATE FUNCTION ttdummy ()
47 AS '@libdir@/regress@DLSUFFIX@'
50 CREATE FUNCTION set_ttdummy (int4)
52 AS '@libdir@/regress@DLSUFFIX@'
55 -- Things that shouldn't work:
57 CREATE FUNCTION test1 (int) RETURNS int LANGUAGE SQL
58 AS 'SELECT ''not an integer'';';
60 CREATE FUNCTION test1 (int) RETURNS int LANGUAGE SQL
63 CREATE FUNCTION test1 (int) RETURNS int LANGUAGE SQL
66 CREATE FUNCTION test1 (int) RETURNS int LANGUAGE SQL
69 CREATE FUNCTION test1 (int) RETURNS int LANGUAGE SQL
72 CREATE FUNCTION test1 (int) RETURNS int LANGUAGE C
75 CREATE FUNCTION test1 (int) RETURNS int LANGUAGE C
76 AS '@libdir@/regress@DLSUFFIX@', 'nosuchsymbol';
78 CREATE FUNCTION test1 (int) RETURNS int LANGUAGE internal