Skip to content

acdat 0.0.2: Literal replacement on PG16

This PostgreSQL 16 source tag adds literal rewriting to the bytea dictionary prototype.

This PostgreSQL 16 source tag adds literal rewriting to the bytea dictionary prototype. Source tag.

Changes

AreaChangeEvidence
DictionaryOptional replacements travel with compiled patterns. The install and update scripts expose acdat_replace(text, bytea).acdat–0.0.2.sql
SelectionReplacement 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
ValidationCompiled offsets and pattern payloads are bounded; regression cases cover overlaps and rule ordering.acdat_basic.sql