plpython2u
Historical untrusted PL/Python 2 procedural language.
plpython2u · Historical untrusted PL/Python 2 procedural language.
Overview
| ID | Extension | Package | Version | Category | License | Language |
|---|---|---|---|---|---|---|
| 101721 | plpython2u | plpython2u | 1.0 | LANG | Unknown | C |
Usage
Sources:
- Official documentation
- Official extension control file (plpython2u.control)
- Official extension SQL (plpython2u–1.0.sql)
plpython2u — Historical untrusted PL/Python 2 procedural language. Use it when database code must run in or interoperate with this procedural language. The reviewed upstream project is archived or no longer maintained.
Core Workflow
Install the extension in the intended database, run the smallest upstream example above when available, and verify the installed version and returned values before integrating it into application SQL.
Requirements and Caveats
- The reviewed control file declares default version
1.0. - The control file marks the extension as non-relocatable.
- The control file requires a superuser for installation.
- These Python 2 language names are historical; current PostgreSQL supports PL/Python through
plpython3uinstead. - PL/Python is untrusted, so only a superuser can create functions in the language.
- Confirm privileges, supported PostgreSQL versions, upgrade behavior, and failure cases against the pinned source before production use.