Skip to content

pgpm-measurements

Catalog of physical quantities, measurement units and labels.

pgpm-measurements · Catalog of physical quantities, measurement units and labels.

Overview

IDExtensionPackageVersionCategoryLicenseLanguage
101680pgpm-measurementspgpm-measurements0.15.5FEATMITSQL
Relationships
Requirespgpm-verify plpgsql

Usage

Sources:

pgpm-measurements — @pgpm/measurements provides a standardized system for tracking measurements and quantities in PostgreSQL applications. This package defines a schema for storing measurement types with their units and descriptions, enabling consistent metric tracking across your application. Use it when an application needs this specific database capability. Upstream describes this capability as experimental.

Core Workflow

CREATE EXTENSION "pgpm-measurements";

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

  • measurements.quantities is a table installed or managed by the extension.
  • measurements is a schema created by the extension.

Requirements and Caveats

  • The reviewed control file declares default version 0.15.5.
  • Install the confirmed extension dependencies first: plpgsql, pgpm-verify.
  • The control file marks the extension as non-relocatable.
  • The control file does not require superuser-only installation.
  • Upstream labels part or all of the project experimental.
  • Confirm privileges, supported PostgreSQL versions, upgrade behavior, and failure cases against the pinned source before production use.

Table reader