slugify
PostgreSQL Extension to generate various variant of Slugs from a string.
slugify · PostgreSQL Extension to generate various variant of Slugs from a string.
Overview
Usage
Sources:
- Official upstream README
- Official extension control file (slugify.control)
- Official implementation source
slugify — PostgreSQL Extension to generate various variant of Slugs from a string. 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
slugis an extension function.slug_randis an extension function.slug_rand_cis an extension function.slug_rand_sepis an extension function.slug_rand_sep_cis an extension function.slug_sepis an extension function.
Requirements and Caveats
- The catalog records version
0.0.1. - 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.