pgpm-types
Reusable domains for attachments, email, hostnames, images, uploads and URLs.
pgpm-types · Reusable domains for attachments, email, hostnames, images, uploads and URLs.
Overview
| ID | Extension | Package | Version | Category | License | Language |
|---|---|---|---|---|---|---|
| 101681 | pgpm-types | pgpm-types | 0.15.5 | TYPE | MIT | SQL |
| Relationships | |
|---|---|
| Requires | citext pgpm-verify plpgsql |
Usage
Sources:
- Official upstream README
- Official extension control file (pgpm-types.control)
- Official extension SQL (pgpm-types–0.15.5.sql)
pgpm-types — Core PostgreSQL data types with SQL scripts. Use it when application data needs this type, domain, or its operators. Its extension dependencies must be installed and validated first.
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
attachmentis an extension-defined domain.emailis an extension-defined domain.hostnameis an extension-defined domain.imageis an extension-defined domain.originis an extension-defined domain.uploadis an extension-defined domain.urlis an extension-defined domain.
Requirements and Caveats
- The reviewed control file declares default version
0.15.5. - Install the confirmed extension dependencies first:
plpgsql,citext,pgpm-verify. - 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.