pg_biscuit
A fast bitmap-based index for PostgreSQL
pg_biscuit · A fast bitmap-based index for PostgreSQL
Overview
| ID | Extension | Package | Version | Category | License | Language |
|---|---|---|---|---|---|---|
| 101519 | pg_biscuit | pg_biscuit | 1.0 | FTS | MIT | C |
| Relationships | |
|---|---|
| Requires | plpgsql |
Usage
Sources:
- Official upstream README
- Official extension control file (pg_biscuit.control)
- Official extension SQL (pg_biscuit–1.0.sql)
- Current upstream continuation repository
pg_biscuit — A PostgreSQL Index Access Method (IAM) for high-performance pattern matching on text columns. Biscuit indexes are specifically designed to accelerate LIKE queries with arbitrary wildcards. Use it for the corresponding text-search, parsing, or linguistic workflow. Its extension dependencies must be installed and validated first.
Core Workflow
Install the extension in the intended database, run the smallest upstream example above when available, and verify the installed version and returned values before integrating it into application SQL.
Important Objects
biscuit_handler(internal)is an extension function and returnsindex_am_handler.biscuit_index_stats(oid)is an extension function and returnstext.biscuit_like_support(internal)is an extension function.biscuit_multicolumn_enabled()is an extension function and returnsboolean.biscuit_indexesis an extension-defined view.biscuit_indexes_detailedis an extension-defined view.biscuit_versionis a table installed or managed by the extension.productsis a table installed or managed by the extension.biscuitis an extension-defined access method.biscuit_bpchar_opsis an extension-defined operator class.biscuit_text_opsis an extension-defined operator class.biscuit_varchar_opsis an extension-defined operator class.
Requirements and Caveats
- The reviewed control file declares default version
1.0. - Install the confirmed extension dependencies first:
plpgsql. - The control file marks the extension as non-relocatable.
- The PGXN sources above document the
pg_biscuitidentity; the current upstream repository publishes the renamedbiscuitextension, so review its migration boundary before substituting it. - Confirm privileges, supported PostgreSQL versions, upgrade behavior, and failure cases against the pinned source before production use.