acdat 0.1.0: Typed machines and transactional dictionaries
By Ruohang Feng In acdat releases
The C/PGXS rebuild targets PG14–18. This source tag introduces a fixed acdat schema and a typed machine that can be stored and reused.
The C/PGXS rebuild targets PG14–18. This source tag introduces a fixed acdat schema and a typed machine that can be stored and reused.
Changes
| Area | Change | Evidence |
|---|---|---|
| SQL | Compile text or bytea arrays and aggregate source rows. Enumerate hit positions, test existence and replace literal spans. | acdat–0.1.0.sql |
| Storage | Portable serialized machines expose validation, import/export and distinct fingerprints for rules, builds and payloads. | acdat_format.c |
| Lifecycle | Publish immutable builds and atomically switch the active build; roll back by activating a prior ready build. | acdat–0.1.0.sql |
| License | The tag includes the original PostgreSQL-style permissive license. | LICENSE |
Dictionary builds
A rule set now has a machine value with explicit IDs and a typed hit result. Managed builds can be activated in a transaction; source rules stay with the application.
Upgrade notes
There is no update script from the bytea prototypes. Preserve source rules, install 0.1.0 in a fresh database and recompile the dictionaries.
Compatibility
The tagged CI workflow lists PostgreSQL 14 through 18.
Verification
Check the tagged evidence: .github/workflows/ci.yml · examples/demo.sql · test/dump_restore.sh.