/usr/share/postgresql/9.3/extension/plv8--1.4.0.sql is in postgresql-9.3-plv8 1.4.0.ds-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | CREATE FUNCTION plv8_call_handler() RETURNS language_handler
AS 'MODULE_PATHNAME' LANGUAGE C;
CREATE FUNCTION plv8_inline_handler(internal) RETURNS void
AS 'MODULE_PATHNAME' LANGUAGE C;
CREATE FUNCTION plv8_call_validator(oid) RETURNS void
AS 'MODULE_PATHNAME' LANGUAGE C;
CREATE TRUSTED LANGUAGE plv8
HANDLER plv8_call_handler
INLINE plv8_inline_handler
VALIDATOR plv8_call_validator;
CREATE DOMAIN plv8_int2array AS int2[];
CREATE DOMAIN plv8_int4array AS int4[];
CREATE DOMAIN plv8_float4array AS float4[];
CREATE DOMAIN plv8_float8array AS float8[];
|