Skip to content

pg_dynamic

Experimental dynamic values with casts and overloaded operators.

pg_dynamic · Experimental dynamic values with casts and overloaded operators.

Overview

IDExtensionPackageVersionCategoryLicenseLanguage
102074pg_dynamicpg_dynamic0.1.0TYPEApache-2.0C

Usage

Sources:

pg_dynamic introduces a dynamic type that carries values for selected PostgreSQL types and exposes casts and overloaded operations. The 0.1.0 source is experimental; its stated goal of supporting every type is broader than the implemented SQL surface.

Core Workflow

CREATE EXTENSION pg_dynamic;
SELECT (42::bigint)::dynamic;
SELECT ((42::bigint)::dynamic)::bigint;

Operational Boundaries

Superuser installation is required; the library does not require shared preload. The reviewed SQL includes bigint, inet and box conversions, arithmetic, geometric operations and selected math functions. Use only the concrete casts/functions exported by this revision; arbitrary extension types and automatic universal dispatch are not established. No PostgreSQL major-version support range is asserted by the reviewed documentation.

Table reader