File: plsh-noinline.sql

package info (click to toggle)
postgresql-plsh 1.20140221-5
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 244 kB
  • ctags: 55
  • sloc: ansic: 556; sql: 136; makefile: 40; sh: 13
file content (13 lines) | stat: -rw-r--r-- 317 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
CREATE FUNCTION plsh_handler() RETURNS language_handler
    AS '$libdir/plsh'
    LANGUAGE C;

CREATE FUNCTION plsh_validator(oid) RETURNS void
    AS '$libdir/plsh'
    LANGUAGE C;

CREATE LANGUAGE plsh
    HANDLER plsh_handler
    VALIDATOR plsh_validator;

COMMENT ON LANGUAGE plsh IS 'PL/sh procedural language';