File: plluau--2.0.sql

package info (click to toggle)
postgresql-pllua 1%3A2.0.10-5
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,316 kB
  • sloc: ansic: 14,369; sql: 2,181; makefile: 163; sh: 59; javascript: 38
file content (20 lines) | stat: -rw-r--r-- 551 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
\echo Use "CREATE EXTENSION plluau" to load this file. \quit

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

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

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

CREATE LANGUAGE plluau
  HANDLER plluau_call_handler
  INLINE plluau_inline_handler
  VALIDATOR plluau_validator;

--