diff options
Diffstat (limited to 'src/pl/plpython/plpythonu--1.0.sql')
-rw-r--r-- | src/pl/plpython/plpythonu--1.0.sql | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/pl/plpython/plpythonu--1.0.sql b/src/pl/plpython/plpythonu--1.0.sql new file mode 100644 index 0000000..4c6f7c3 --- /dev/null +++ b/src/pl/plpython/plpythonu--1.0.sql @@ -0,0 +1,17 @@ +/* src/pl/plpython/plpythonu--1.0.sql */ + +CREATE FUNCTION plpython_call_handler() RETURNS language_handler + LANGUAGE c AS 'MODULE_PATHNAME'; + +CREATE FUNCTION plpython_inline_handler(internal) RETURNS void + STRICT LANGUAGE c AS 'MODULE_PATHNAME'; + +CREATE FUNCTION plpython_validator(oid) RETURNS void + STRICT LANGUAGE c AS 'MODULE_PATHNAME'; + +CREATE LANGUAGE plpythonu + HANDLER plpython_call_handler + INLINE plpython_inline_handler + VALIDATOR plpython_validator; + +COMMENT ON LANGUAGE plpythonu IS 'PL/PythonU untrusted procedural language'; |