mirror of https://github.com/postgres/postgres
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
406 B
15 lines
406 B
![]()
11 years ago
|
-- Initialization that requires path substitution.
|
||
|
|
||
|
CREATE FUNCTION putenv(text)
|
||
|
RETURNS void
|
||
|
AS '@libdir@/regress@DLSUFFIX@', 'regress_putenv'
|
||
|
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 putenv('PGSERVICEFILE=@abs_srcdir@/' || $1)$$;
|