This is the multi-page printable view of this section.
Release
1 - acdat releases
Early tags used compiled bytea values. The typed SQL API starts at 0.1.0; install versioned update scripts before updating a database.
History
The 2018 Go library Vonng/ac supplied the original benchmark. The 2022 PG14 prototype provided contains, the 2024 PG16 tag added replacement, and the 2026 PGXS rebuild introduced typed machines. The historical dataset release preserves the Go dictionary and corpus.
1.1 - acdat 0.1.1: Bounded builds and faster root misses
acdat 0.1.1 ships a PGXN-compatible source ZIP for the PG14–18 release line. The SQL API and format-major-1 machines remain compatible with 0.1.0.
Changes
| Area | Change | Evidence |
|---|---|---|
| Compiler | Removing globally unique BASE placement reduces pathological UTF8 build searches. Compilation is cancellable and the builder bounds its candidate search. | CHANGELOG.md |
| Runtime | The materialized output chain frees one four-byte array per DAT slot. A 256-entry root transition table handles root misses; cache replacement is exception-safe. | CHANGELOG.md |
| Release | The canonical repository moved to pgsty/acdat and the code was relicensed under Apache-2.0. | LICENSE |
Dictionary builds
The release evaluates packed runtime states and LexDFS placement but retains the existing representation. The benchmark separates root misses, hit-heavy scans, UTF8 inputs and worst overlaps.
Upgrade notes
Install the new library and update each 0.1.0 database. Existing machines require no rebuild.
Compatibility
The release records PG14–18 CI and additional demo, dump/restore and TOAST-cache checks on PG18.
Verification
Check the tagged evidence: docs/CHANGELOG.md · .github/workflows/ci.yml · sql/acdat–0.1.0–0.1.1.sql · GitHub release.
acdat-0.1.1.zip SHA-256 e19a06abc44ae74f7932a0537d65dadfafb66f5478117b275c6d9c4a9a450a14.
1.2 - 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.
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.
1.3 - acdat 0.0.2: Literal replacement on PG16
This PostgreSQL 16 source tag adds literal rewriting to the bytea dictionary prototype. Source tag.
Changes
| Area | Change | Evidence |
|---|---|---|
| Dictionary | Optional replacements travel with compiled patterns. The install and update scripts expose acdat_replace(text, bytea). | acdat–0.0.2.sql |
| Selection | Replacement walks left to right, selects the longest pattern at a start, breaks equal-length ties by dictionary order and never rescans inserted text. | README.md |
| Validation | Compiled offsets and pattern payloads are bounded; regression cases cover overlaps and rule ordering. | acdat_basic.sql |
1.4 - acdat 0.0.1: PG14 dictionary prototype
The PostgreSQL 14 source prototype compiles a text array into a bytea dictionary and tests an input for any literal match. Source tag.
Changes
| Area | Change | Evidence |
|---|---|---|
| API | acdat_compile(text[]) builds the byte-oriented dictionary; acdat_contains(text, bytea) stops on the first hit. | acdat–0.0.1.sql |
| Matcher | Byte transitions and failure links allow one pass over the input. | acdat.c |
| Regression | The prototype includes a PGXS regression script and expected matcher output. | acdat_basic.out |
2 - pgs3 releases
Choose the update path by the SQL catalog version in pg_extension. Early project tags had a separate numbering history.
2.1 - pgs3 0.1.2: PostgreSQL 19 and pgrx 0.20.1
pgs3 0.1.2 adds PG19 alongside PG17 and PG18, with PG17 as the default build target. A checksummed source tarball accompanies the release.
Changes
| Area | Change | Evidence |
|---|---|---|
| Toolchain | pgrx, pgrx-tests and cargo-pgrx move to 0.20.1; source builds require Rust 1.99.1 or newer. | Cargo.toml |
| Workers | PG19 workers connect using the configured NOLOGIN service role. The worker arms statement timeouts through PostgreSQL APIs. | db.rs · http.rs |
| Upgrade | A versioned update advances the catalog to 0.1.2 while preserving SQL objects and data; package both update scripts and generated install SQL. | pgs3–0.1.1–0.1.2.sql |
Release scope
The build matches server and development-header minor versions. Packagers can remove the pgrx patch used with the 0.1.1 source archive.
Upgrade notes
Install the new package, restart PostgreSQL, then run in each database. Catalog version 0.1.0 chains through 0.1.1.
Compatibility
The release records SQL, HTTP, upgrade and client tests on Linux arm64 PG17.12, 18.7 and 19.0. All 195 selected Ceph cases passed on PG19. Binaries built with the new PG17/18 headers require the corresponding minor or newer.
Verification
Check the tagged evidence: docs/acceptance.md · Cargo.toml · sql/pgs3–0.1.1–0.1.2.sql · GitHub release.
pgs3-0.1.2.tar.gz SHA-256 d1801079a89a7588223ef233a57c316841e6c002a70e2afaacbb3f9a25ee1c2f.
2.2 - pgs3 0.0.1: First public source release
GitHub project v0.0.1 already contains PostgreSQL catalog version 0.1.1. Its SQL and S3 runtime match v0.1.1. This source-only release covers PG17 and PG18.
Changes
| Area | Change | Evidence |
|---|---|---|
| Objects | Workers serve path-style S3 with SigV4, versioning, delete markers, copy and multipart backed by PostgreSQL. | README.md |
| Tenancy | Access keys map to roles; PostgreSQL RLS scopes object access. Restore and fork share payloads through canonical blobs. | design.md |
| Guides | Chinese quick-start and client usage guides accompany the public snapshot. | getting-started.md |
Release scope
Bucket and object rows, credentials and payloads use PostgreSQL storage and WAL. The public snapshot includes a tested transition from SQL catalog version 0.1.0.
Upgrade notes
Only databases with actual SQL catalog version 0.1.0 need this update. A database already reporting 0.1.1 needs no SQL upgrade for this tag.
Compatibility
The published baseline covers PostgreSQL 17 and 18, including SQL, HTTP and client runs. Small-object performance and the 100,000-object fork goal remained below target.
Verification
Check the tagged evidence: docs/acceptance.md · sql/pgs3–0.1.0–0.1.1.sql · Cargo.toml · GitHub release.
2.3 - pgs3 0.1.0: Packaging and repository metadata
GitHub project v0.1.0 still contains PostgreSQL catalog version 0.1.1. Its SQL and S3 runtime match v0.1.1. PG17 and PG18 remain the source-release targets.
Changes
| Area | Change | Evidence |
|---|---|---|
| License | The full Apache-2.0 text was added to the source tree. | LICENSE |
| Cargo | Project metadata declares the license, repository, homepage, readme and keywords. | Cargo.toml |
| Build hygiene | Build output is consolidated, syntax checks avoid Python bytecode files and make clean removes intermediates. Generated acceptance artifacts stay outside the source distribution. | Makefile |
Release scope
The tag diff affects packaging, documentation and build cleanup. The tagged src and sql trees are identical to v0.0.1.
Upgrade notes
Only databases with actual SQL catalog version 0.1.0 need this update. A database already reporting 0.1.1 needs no SQL upgrade for this tag.
Compatibility
The published baseline covers PostgreSQL 17 and 18, including SQL, HTTP and client runs. Small-object performance and the 100,000-object fork goal remained below target.
Verification
Check the tagged evidence: docs/acceptance.md · sql/pgs3–0.1.0–0.1.1.sql · Cargo.toml · GitHub release · Tag diff.
2.4 - pgs3 0.1.1: Project and catalog versions aligned
The public v0.1.1 tag aligns the project, Cargo package and PostgreSQL catalog at 0.1.1 and supersedes v0.1.0. The release provides source for PG17 and PG18.
Changes
| Area | Change | Evidence |
|---|---|---|
| Project tag | The README points to the aligned GitHub version. The tag-to-tag tree diff changes that link only. | README.md |
| Catalog | Cargo already supplied 0.1.1 to the generated control file. Existing installations at 0.1.1 need no SQL transition. | Cargo.toml |
Release scope
The version change identifies the public baseline. The previous GitHub project tag already installed 0.1.1 in PostgreSQL.
Upgrade notes
Only databases with actual SQL catalog version 0.1.0 need this update. A database already reporting 0.1.1 needs no SQL upgrade for this tag.
Compatibility
The published baseline covers PostgreSQL 17 and 18, including SQL, HTTP and client runs. Small-object performance and the 100,000-object fork goal remained below target.
Verification
Check the tagged evidence: docs/acceptance.md · sql/pgs3–0.1.0–0.1.1.sql · Cargo.toml · GitHub release · Tag diff.
3 - opencc releases
The SQL name is opencc. Each release fixes a set of embedded dictionaries; inspect stored dependents when the dictionary identity changes.
3.1 - opencc 0.1.0: Embedded Chinese conversion dictionaries
The first pg_opencc source release exposes OpenCC 1.4.2 in UTF8 databases on PG14–18. The SQL extension is named opencc.
Changes
| Area | Change | Evidence |
|---|---|---|
| Resources | The shared library embeds 16 configs and 22 dictionaries, and links OpenCC statically. | CHANGELOG.md |
| SQL | Config wrappers, regional routing, detection and inspection expose conversion steps and ambiguous candidates. | opencc–0.1.0.sql |
| Operations | Version/dictionary identity, converter preloading and catalog dependency discovery are available. Before tagging, dependency discovery was corrected for PG14 generated columns. | opencc–0.1.0.sql |
Dictionary identity
The embedded resource digest identifies the dictionaries behind immutable conversion results. The initial regression suite includes 556 golden cases from OpenCC.
Initial measurements
The tagged README records macOS arm64 resident growth of about 6 MB for t2s, 28 MB for s2t and 42 MB for s2twp. For the same 10.8 MiB input, s2t and s2twp took 0.11 s and 0.22 s respectively; 200,000 short rows took 0.14 s and 0.32 s. First use took 2–21 ms depending on the config. Release measurements.
Upgrade notes
This is the first extension release. After installing its files, enable it in the target UTF8 database.
Compatibility
Release CI covers PG14–18, including checks for generated-column dependencies on PG14.
Verification
Check the tagged evidence: CHANGELOG.md · .github/workflows/ci.yml · test/sql/opencc_ops.sql · test/sql/opencc_upstream.sql · GitHub release · PG14 dependency fix.