nostr_filter
Nostr event types, insertion helpers, and JSON filter evaluation inside PostgreSQL.
nostr_filter · Nostr event types, insertion helpers, and JSON filter evaluation inside PostgreSQL.
Overview
| ID | Extension | Package | Version | Category | License | Language |
|---|---|---|---|---|---|---|
| 101893 | nostr_filter | nostr_filter | 1.0 | FEAT | C |
Usage
Sources:
nostr_filter Nostr event types, insertion helpers, and JSON filter evaluation inside PostgreSQL.
Enablement
Install the files for the intended server, then create nostr_filter in the target database:
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 |
|---|---|---|
insert_nostr_event | FUNCTION | Callable function from the reviewed install surface. |
insert_nostr_event_type | FUNCTION | Callable function from the reviewed install surface. |
nostr_filter_search | FUNCTION | Callable function from the reviewed install surface. |
nostr_event | TYPE | User-facing data type created by the extension. |
nostr_events | TABLE | Extension-owned table; account for its data in backup and upgrades. |
nostr_events | TABLE | Extension-owned table; account for its data in backup and upgrades. |
insert_nostr_event | FUNCTION | Callable function from the reviewed install surface. |
insert_nostr_event_type | FUNCTION | Callable function from the reviewed install surface. |
nostr_event | TYPE | User-facing data type created by the extension. |
nostr_filter_search | 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.