plpythonu
PL/PythonU untrusted procedural language
当前阅读 PG 14·选择有来源记录的版本
此版本暂无所选语言的定义,以下显示原始英文内容。
- Kind
- Bundled procedural-language variant
- Family
- PL/Python
- Trusted
- f
- Handler
- plpython_call_handler
- Inline handler
- plpython_inline_handler
- Validator
- plpython_validator
- Library
- $libdir/plpython2
- Default version
- 1.0
- Module pathname
- $libdir/plpython2
- Comment
- PL/PythonU untrusted procedural language
- aliases
- 未知
- manual path
- /docs/14/plpython.html
- signature
- 未知
版本定义 PG 14
Chapter 46. PL/Python — Python Procedural Language
The PL/Python procedural language allows PostgreSQL functions and procedures to be written in the Python language.
To install PL/Python in a particular database, use CREATE EXTENSION plpythonu (but see also Section 46.1).
Tip
If a language is installed into template1, all subsequently created databases will have the language installed automatically.
PL/Python is only available as an “untrusted” language, meaning it does not offer any way of restricting what users can do in it and is therefore named plpythonu. A trusted variant plpython might become available in the future if a secure execution mechanism is developed in Python. The writer of a function in untrusted PL/Python must take care that the function cannot be used to do anything unwanted, since it will be able to do anything that could be done by a user logged in as the database administrator. Only superusers can create functions in untrusted languages such as plpythonu.
Note
Users of source packages must specially enable the build of PL/Python during the installation process. (Refer to the installation instructions for more information.) Users of binary packages might find PL/Python in a separate subpackage.
比较版本
完整来源事实
attributes
{"comment":"PL/PythonU untrusted procedural language","default_version":"1.0","family":"PL/Python","handler":"plpython_call_handler","inline_handler":"plpython_inline_handler","kind":"Bundled procedural-language variant","library":"$libdir/plpython2","module_pathname":"$libdir/plpython2","trusted":"f","validator":"plpython_validator"}source files
{"src/pl/plpython/plpythonu--1.0.sql":"70bad78157392ad1efe970053f5d54bae45a61e10670a373cca5432f2b91dce3","src/pl/plpython/plpythonu.control":"1fa1af3f24d2dab852f17dc3c63e5a6c6ef92a835599202fa270252dce59d285"}来源引用
定义来源
center · PostgreSQL 14 · a7fa7ed3d558172355f51406097a7bd4f6b473be80f311ef7cda96bf383d8897
正文语言: en · a7fa7ed3d558172355f51406097a7bd4f6b473be80f311ef7cda96bf383d8897