pg_fedi
Pure-SQL ActivityPub federation primitives for PostgreSQL and pg_tle environments.
pg_fedi · Pure-SQL ActivityPub federation primitives for PostgreSQL and pg_tle environments.
Overview
| ID | Extension | Package | Version | Category | License | Language |
|---|---|---|---|---|---|---|
| 101908 | pg_fedi | pg_fedi | 0.2.0 | FEAT | Apache-2.0 | SQL |
| Relationships | |
|---|---|
| Requires | pgcrypto |
Usage
Sources:
pg_fedi Pure-SQL ActivityPub federation primitives for PostgreSQL and pg_tle environments.
Enablement
Install the files for the intended server, then create pg_fedi in the target database:
The reviewed control or official workflow requires pgcrypto. CASCADE only succeeds when those extension files are already installed on the server.
Core Workflow
The following example is taken from the reviewed upstream documentation. Adapt object names, paths, credentials, and workload values before use.
Main Objects
The reviewed install surface includes these prominent objects:
| Object | Kind | Operational role |
|---|---|---|
ap_set_setting | FUNCTION | Callable function from the reviewed install surface. |
ap_process_inbox_activity | FUNCTION | Callable function from the reviewed install surface. |
ap_serialize_actor | FUNCTION | Callable function from the reviewed install surface. |
ap_webfinger | FUNCTION | Callable function from the reviewed install surface. |
ap_create_local_actor | FUNCTION | Callable function from the reviewed install surface. |
ap_create_note | FUNCTION | Callable function from the reviewed install surface. |
ap_deliveries | TABLE | Extension-owned table; account for its data in backup and upgrades. |
ap_delivery_failure | FUNCTION | Callable function from the reviewed install surface. |
Operations and Boundaries
- Treat extension upgrades as database changes: review the upstream upgrade path, privileges, locks, and backup/restore behavior first.