/usr/share/postgresql/10/extension/plsh--2.sql is in postgresql-10-plsh 1.20171014-1.
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 15 16 17 18 | CREATE FUNCTION plsh_handler() RETURNS language_handler
AS '$libdir/plsh'
LANGUAGE C;
CREATE FUNCTION plsh_inline_handler(internal) RETURNS void
AS '$libdir/plsh'
LANGUAGE C;
CREATE FUNCTION plsh_validator(oid) RETURNS void
AS '$libdir/plsh'
LANGUAGE C;
CREATE LANGUAGE plsh
HANDLER plsh_handler
INLINE plsh_inline_handler
VALIDATOR plsh_validator;
COMMENT ON LANGUAGE plsh IS 'PL/sh procedural language';
|