Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: debian
Fetching contributors…

Cannot retrieve contributors at this time

37 lines (29 sloc) 0.907 kB
#include "pg_config.h"
#if PG_VERSION_NUM < 90100
-- adjust this setting to control where the objects get created.
SET search_path = public;
BEGIN;
#endif
CREATE FUNCTION @LANG_NAME@_call_handler() RETURNS language_handler
AS 'MODULE_PATHNAME' LANGUAGE C;
#if PG_VERSION_NUM >= 90000
CREATE FUNCTION @LANG_NAME@_inline_handler(internal) RETURNS void
AS 'MODULE_PATHNAME' LANGUAGE C;
#endif
CREATE FUNCTION @LANG_NAME@_call_validator(oid) RETURNS void
AS 'MODULE_PATHNAME' LANGUAGE C;
CREATE TRUSTED LANGUAGE @LANG_NAME@
HANDLER @LANG_NAME@_call_handler
#if PG_VERSION_NUM >= 90000
INLINE @LANG_NAME@_inline_handler
#endif
VALIDATOR @LANG_NAME@_call_validator;
#ifdef LANG_plv8
CREATE DOMAIN plv8_int2array AS int2[];
CREATE DOMAIN plv8_int4array AS int4[];
CREATE DOMAIN plv8_float4array AS float4[];
CREATE DOMAIN plv8_float8array AS float8[];
#endif
#if PG_VERSION_NUM < 90100
COMMIT;
#endif
Jump to Line
Something went wrong with that request. Please try again.