plpython2u

E427684

plpython2u is an untrusted PostgreSQL procedural language extension that allows writing database functions in Python 2.

All labels observed (1)

Label Occurrences
plpython2u canonical 1

How this entity was disambiguated

Statements (48)

Predicate Object
instanceOf PostgreSQL extension
PostgreSQL procedural language
untrusted procedural language
allowsWriting PostgreSQL functions in Python 2
belongsToCategory server-side scripting language for PostgreSQL
canAccess file system of database server
network from database server
canBeOwnedBy database superuser
canImport standard Python 2 libraries
executionContext per-session Python interpreter
executionModel functions executed inside backend process, not separate OS process
hasLanguageName PL/PythonU (Python 2 variant) NERFINISHED
hasLimitation not suitable for shared hosting environments
tied to Python 2 syntax and libraries
hasRisk arbitrary code execution in database backend
hasSecurityModel no sandboxing inside database backend
implementationLanguage C NERFINISHED
introducedBefore PostgreSQL 9.x era
isAffectedBy Python 2 end-of-life (January 1, 2020)
isCreatedWithCommand CREATE EXTENSION plpython2u
CREATE LANGUAGE plpython2u
isDeprecatedFor new development due to Python 2 end-of-life
isDocumentedIn PostgreSQL official documentation NERFINISHED
isPackagedWith many standard PostgreSQL distributions
isPartOf PostgreSQL procedural languages family NERFINISHED
isRelatedTo plpython3u
plpythonu NERFINISHED
languageHandlerFunction plpython_call_handler
namingConvention suffix "u" indicates untrusted language
recommendedAlternative plpython3u
requires Python 2 interpreter on server
requiresPrivilege superuser to create language
runsIn PostgreSQL server process
securityRecommendation avoid granting to untrusted users
supportsDataExchange conversion of JSON to Python objects
conversion of arrays to Python lists
conversion of records to Python dictionaries
mapping between PostgreSQL types and Python types
supportsFeature returning composite types
returning sets
using Python modules inside database functions
using SPI to execute SQL
writing SQL-callable functions
writing trigger functions
supportsLanguage Python 2 NERFINISHED
trustedStatus untrusted
usedFor embedding business logic in database using Python 2
rapid prototyping of database functions in Python 2

How these facts were elicited

Referenced by (1)

Full triples — surface form annotated when it differs from this entity's canonical label.

PL/Python hasVariant plpython2u