Skip to content

acdat 0.1.0: Typed machines and transactional dictionaries

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.

Tagged source

Changes

AreaChangeEvidence
SQLCompile text or bytea arrays and aggregate source rows. Enumerate hit positions, test existence and replace literal spans.acdat–0.1.0.sql
StoragePortable serialized machines expose validation, import/export and distinct fingerprints for rules, builds and payloads.acdat_format.c
LifecyclePublish immutable builds and atomically switch the active build; roll back by activating a prior ready build.acdat–0.1.0.sql
LicenseThe 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.

CREATE EXTENSION acdat VERSION '0.1.0';

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.