Skip to content

pyramid_generate

Generate uniformly distributed random float8 vectors by dimension and size

pyramid_generate · Generate uniformly distributed random float8 vectors by dimension and size

Overview

IDExtensionPackageVersionCategoryLicenseLanguage
101737pyramid_generatepyramid_generate1.0FUNCUnknownC

Usage

Sources:

pyramid_generate — Generate uniformly distributed random float8 vectors by dimension and size. Use it when SQL needs these specialized functions or aggregates. Use the pinned upstream revision linked above as the API boundary and test it on the target PostgreSQL build.

Core Workflow

CREATE EXTENSION pyramid_generate;

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

  • pyramid_generate(dimension int4, size int8) is an extension function and returns SETOF.

Requirements and Caveats

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

Table reader