File: init.out

package info (click to toggle)
postgresql-plsh 1.20140221-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 228 kB
  • ctags: 51
  • sloc: ansic: 556; sql: 136; makefile: 40; sh: 13
file content (15 lines) | stat: -rw-r--r-- 454 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
\i plsh.sql
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';