mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-01-06 15:24:56 +08:00
15 lines
406 B
Plaintext
15 lines
406 B
Plaintext
|
-- 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)$$;
|