blob: 881a65314f34ee8e5fed1095d2766e3bf4efeba2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
-- Initialization that requires path substitution.
CREATE FUNCTION setenv(text, text)
RETURNS void
AS '@libdir@/regress@DLSUFFIX@', 'regress_setenv'
LANGUAGE C STRICT;
CREATE FUNCTION wait_pid(int)
RETURNS void
AS '@libdir@/regress@DLSUFFIX@'
LANGUAGE C STRICT;
CREATE FUNCTION set_pgservicefile(text) RETURNS void LANGUAGE SQL
AS $$SELECT setenv('PGSERVICEFILE', '@abs_srcdir@/' || $1)$$;
|