File: pllua--2.0.sql

package info (click to toggle)
postgresql-pllua 1%3A2.0.1-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 996 kB
  • sloc: ansic: 12,825; sql: 1,689; makefile: 141; sh: 43
file content (20 lines) | stat: -rw-r--r-- 548 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
\echo Use "CREATE EXTENSION pllua" to load this file. \quit

CREATE FUNCTION pllua_call_handler()
  RETURNS language_handler AS 'MODULE_PATHNAME', 'pllua_call_handler'
  LANGUAGE C;

CREATE FUNCTION pllua_inline_handler(internal)
  RETURNS VOID AS 'MODULE_PATHNAME', 'pllua_inline_handler'
  LANGUAGE C STRICT;

CREATE FUNCTION pllua_validator(oid)
  RETURNS VOID AS 'MODULE_PATHNAME', 'pllua_validator'
  LANGUAGE C STRICT;

CREATE TRUSTED LANGUAGE pllua
  HANDLER pllua_call_handler
  INLINE pllua_inline_handler
  VALIDATOR pllua_validator;

--