summaryrefslogtreecommitdiffstats
path: root/src/pl/plpython/plpython3u--1.0.sql
blob: ba2e6ac076bcad2c35ea133dabe17ece1bf50f1d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* src/pl/plpython/plpython3u--1.0.sql */

CREATE FUNCTION plpython3_call_handler() RETURNS language_handler
  LANGUAGE c AS 'MODULE_PATHNAME';

CREATE FUNCTION plpython3_inline_handler(internal) RETURNS void
  STRICT LANGUAGE c AS 'MODULE_PATHNAME';

CREATE FUNCTION plpython3_validator(oid) RETURNS void
  STRICT LANGUAGE c AS 'MODULE_PATHNAME';

CREATE LANGUAGE plpython3u
  HANDLER plpython3_call_handler
  INLINE plpython3_inline_handler
  VALIDATOR plpython3_validator;

COMMENT ON LANGUAGE plpython3u IS 'PL/Python3U untrusted procedural language';