Skip to content

postgresconf

pgrx webinar example demonstrating SQL functions, iterators, enums, and composite results.

postgresconf · pgrx webinar example demonstrating SQL functions, iterators, enums, and composite results.

Overview

IDExtensionPackageVersionCategoryLicenseLanguage
101728postgresconfpostgresconf1.0FEATUnknownRust

Usage

Sources:

postgresconf — First off, you need the following software to build this extension:. Use it when an application needs this specific database capability. Use the pinned upstream revision linked above as the API boundary and test it on the target PostgreSQL build.

Core Workflow

CREATE EXTENSION postgresconf;

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

  • array_of_names() is an extension function.
  • array_of_names_with_null() is an extension function.
  • hello_postgresconf() is an extension function.
  • my_generate_series is an extension function.
  • rust_tuple is an extension function.
  • set_of_animals() is an extension function.
  • sum_array is an extension function.

Requirements and Caveats

  • The reviewed control file declares default version 1.0.
  • The control file marks the extension as non-relocatable.
  • The control file does not require superuser-only installation.
  • Confirm privileges, supported PostgreSQL versions, upgrade behavior, and failure cases against the pinned source before production use.

Table reader