pgwebhook
A very powerful extension to use webhooks and interact with Supabase Edge Functions
pgwebhook · A very powerful extension to use webhooks and interact with Supabase Edge Functions
Overview
| ID | Extension | Package | Version | Category | License | Language |
|---|---|---|---|---|---|---|
| 101705 | pgwebhook | pgwebhook | 0.1.2 | FEAT | Apache-2.0 | SQL |
| Relationships | |
|---|---|
| Requires | http |
Usage
Sources:
- Official upstream README
- Official extension control file (pgwebhook.control)
- Official extension SQL (pgwebhook–0.1.1–0.1.2.sql)
pgwebhook — pgwebhook is a PostgreSQL extension designed to facilitate the creation and management of webhooks directly from your database. 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
hook.edge_wrapperis an extension function.hook.edgehook_trigger()is an extension function and returnstrigger.hook.http_requestis an extension function.hook.webhook_trigger()is an extension function and returnstrigger.hook.migrationsis a table installed or managed by the extension.hookis a schema created by the extension.
Requirements and Caveats
- The reviewed control file declares default version
0.1.2. - Install the confirmed extension dependencies first:
http. - 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.