gnomon_c
gnomon · Optional C triggers, routing hooks and heartbeat worker for Gnomon.
Overview
| ID | Extension | Package | Version | Category | License | Language |
|---|---|---|---|---|---|---|
| 102370 | gnomon_c | gnomon | 1.0.2 | TIME | PostgreSQL | C |
PostgreSQL · 15, 16, 17, 18
| Relationships | |
|---|---|
| Requires | gnomon |
Usage
Sources:
- 1.0.2 release
- Official source
- Official source
- Official source
- Official source
- Official source
- Official source
gnomon_c 1.0.2 is Gnomon’s optional C companion for PostgreSQL 15–18. It depends on gnomon. The C versioning trigger can be used without preload, but routing hooks, shared-memory optimizations and the heartbeat worker require preload and a restart.
Enablement
The table must already be tracked and the caller must hold its management rights. The C trigger supports known-time, row-mode tables without wide keys; unsupported combinations are rejected. Configure the actual database name and preserve other preload entries. Creation and shared configuration require administrator control.
Operations
With preloading, hooks route branch reads/writes and provide additional locking, point-read and upsert behavior. Keep the Gnomon security model: never grant internal reader/search roles to applications. Upgrade the SQL core first, then gnomon_c with matching files and restart processes that loaded replaced libraries. The companion does not make unlogged scratch history durable or remove retention and heartbeat requirements.
1.0.2 correction
The SQL upgrade repairs read sets recorded by 1.0.1 when a branch predates table tracking. Merges now restore the session’s selected branch. The C companion rejects system-column reads on branches instead of crashing. Update the SQL core to 1.0.2 first, then the matching C companion if installed; restart processes using a replaced preloaded library.