tg_sanity_tap
pgtap testing function for tg sanity triggers
tg_sanity · pgtap testing function for tg sanity triggers
Overview
| ID | Extension | Package | Version | Category | License | Language |
|---|---|---|---|---|---|---|
| 101809 | tg_sanity_tap | tg_sanity | 0.1.0 | FEAT | MIT | SQL |
Usage
Sources:
tg_sanity_tap — pgtap testing function for tg sanity triggers. 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
tg_sanity_tap(trigger_table regclass , trigger_name text , timing text , events text , trigger_arguments text)is an extension function and returnsSETOF.
Requirements and Caveats
- The reviewed control file declares default version
0.1.0. - Install the confirmed extension dependencies first:
tg_sanity,pgtap. - The control file marks the extension as relocatable.
- Confirm privileges, supported PostgreSQL versions, upgrade behavior, and failure cases against the pinned source before production use.