Skip to content

tagext

Tag Programming Example Extension

tagext · Tag Programming Example Extension

Overview

IDExtensionPackageVersionCategoryLicenseLanguage
101800tagexttagext1.0FUNCMITShell

Usage

Sources:

tagext — Tag Programming Example Extension. 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 tagext;

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

  • tag_path(tag_to_search text) is an extension function and returns TEXT.
  • tag_path(tag_to_search text, delimiter text DEFAULT ' > ') is an extension function and returns TEXT.

Requirements and Caveats

  • The reviewed control file declares default version 1.0.
  • The control file marks the extension as 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