pgpm-verify
SQL helpers for checking database objects, roles, memberships and policies.
pgpm-verify · SQL helpers for checking database objects, roles, memberships and policies.
Overview
| ID | Extension | Package | Version | Category | License | Language |
|---|---|---|---|---|---|---|
| 101682 | pgpm-verify | pgpm-verify | 0.15.3 | FEAT | MIT | PLpgSQL |
| Relationships | |
|---|---|
| Requires | plpgsql |
Usage
Sources:
- Official upstream README
- Official extension control file (pgpm-verify.control)
- Official extension SQL (pgpm-verify–0.15.3.sql)
pgpm-verify — Verification utilities for PostgreSQL modules. Use it when an application needs this specific database capability. 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
get_entity_from_str(qualified_name text)is an extension function and returnstext.get_schema_from_str(qualified_name text)is an extension function and returnstext.list_indexes(_table text, _index text)is an extension function and returnsTABLE.list_memberships(_user text)is an extension function and returnsTABLE.verify_constraint(_table text, _name text)is an extension function and returnsboolean.verify_domain(_type text)is an extension function and returnsboolean.verify_extension(_extname text)is an extension function and returnsboolean.verify_function(_name text, _user text DEFAULT NULL)is an extension function and returnsboolean.verify_index(_table text, _index text)is an extension function and returnsboolean.verify_membership(_user text, _role text)is an extension function and returnsboolean.verify_policy(_policy text, _table text)is an extension function and returnsboolean.verify_role(_user text)is an extension function and returnsboolean.verify_schema(_schema text)is an extension function and returnsboolean.verify_security(_table text)is an extension function and returnsboolean.
Requirements and Caveats
- The reviewed control file declares default version
0.15.3. - Install the confirmed extension dependencies first:
plpgsql. - 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.