Skip to content

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.

The PostgreSQL 14 source prototype compiles a text array into a bytea dictionary and tests an input for any literal match. Source tag.

Changes

AreaChangeEvidence
APIacdat_compile(text[]) builds the byte-oriented dictionary; acdat_contains(text, bytea) stops on the first hit.acdat–0.0.1.sql
MatcherByte transitions and failure links allow one pass over the input.acdat.c
RegressionThe prototype includes a PGXS regression script and expected matcher output.acdat_basic.out