Skip to content

pgpm-uuid

Pseudo-ordered and seed-prefixed UUID utilities

pgpm-uuid · Pseudo-ordered and seed-prefixed UUID utilities

Overview

IDExtensionPackageVersionCategoryLicenseLanguage
102140pgpm-uuidpgpm-uuid0.47.0FUNCMITPLpgSQL

Usage

Sources:

pgpm-uuid installs pseudo-ordered UUID generators and trigger helpers in uuids. It can cluster identifiers by time or seed while retaining a random component.

Core Workflow

CREATE EXTENSION "pgpm-uuid" CASCADE;
SELECT uuids.pseudo_order_uuid();
SELECT uuids.pseudo_order_seed_uuid('tenant-a');

Operational Boundaries

The generators are not UUID v7 or strict monotonic sequences. uuids.trigger_set_uuid_seed and uuids.trigger_set_uuid_related_field require the documented trigger arguments and columns. The schema overlaps the legacy launchql-uuid; do not co-install those variants.

Version 0.47.0 is a SQL/PLpgSQL extension with no own shared library or preload. Install the matching dependency versions first: pgcrypto, plpgsql, uuid-ossp, hstore, pgpm-verify. The control permits non-superuser installation but is not marked trusted; dependency, schema and role-grant privileges still apply. No current PostgreSQL-major matrix is declared.

Table reader