tagext
Tag Programming Example Extension
tagext · Tag Programming Example Extension
Overview
Usage
Sources:
- Official upstream README
- Official extension control file (tagext.control)
- Official extension SQL (tagext–1.0–1.1.sql)
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
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 returnsTEXT.tag_path(tag_to_search text, delimiter text DEFAULT ' > ')is an extension function and returnsTEXT.
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.