Skip to content

numpy_plpython2u

transform between numpy and plpython2u

numpy_plpython2u · transform between numpy and plpython2u

Overview

IDExtensionPackageVersionCategoryLicenseLanguage
101479numpy_plpython2unumpy_plpython2u1.0LANGMITC
Relationships
Requiresplpython2u

Usage

Sources:

numpy_plpython2u — Library to transform Postgres Array’s to numpy array’s directly without going through python lists. Use it when database code must run in or interoperate with this procedural language. Its extension dependencies must be installed and validated first.

Core Workflow

CREATE EXTENSION numpy_plpython2u;

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.

Important Objects

  • numpy_to_plpython2(val internal) is an extension function and returns internal.
  • plpython2_to_numpy(val internal) is an extension function and returns real.

Requirements and Caveats

  • The reviewed control file declares default version 1.0.
  • Install the confirmed extension dependencies first: plpython2u.
  • The control file marks the extension as relocatable.
  • Confirm privileges, supported PostgreSQL versions, upgrade behavior, and failure cases against the pinned source before production use.

Table reader