Skip to content

plpythonu

Historical untrusted PL/Python procedural language.

plpythonu · Historical untrusted PL/Python procedural language.

Overview

IDExtensionPackageVersionCategoryLicenseLanguage
101722plpythonuplpythonu1.0LANGUnknownC

Usage

Sources:

plpythonu — Historical untrusted PL/Python 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

CREATE EXTENSION plpythonu;

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 plpython3u instead.
  • 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.

Table reader