pgbitmap
pgbitmap · Bitmap-type extension for PostgreSQL
Overview
| ID | Extension | Package | Version | Category | License | Language |
|---|---|---|---|---|---|---|
| 101241 | pgbitmap | pgbitmap | 0.9.5 | TYPE | BSD-2-Clause | C |
PostgreSQL · 10, 11, 12, 13, 14, 15, 16, 17, 18
Usage
Sources:
pgbitmap defines a compact, non-sparse bitmap type for sets of nonnegative integer positions. It supports bit add/remove/test, minimum and maximum, union, intersection, difference, array conversion, iteration, comparisons, and aggregates.
The type is designed to avoid storing all zero positions before a high bit. Its textual representation is compact and intended for round trips rather than human interpretation. Validate negative and extreme indexes, empty values, aggregates, ordering, and cross-architecture dump/restore.
Upstream calls 0.9.5 beta, while the catalog marks the project abandoned. It was developed partly for privilege sets, but a bitmap is not itself an authorization system: enforce row access and mutation privileges separately. Pin binary and text formats, test TOAST and memory behavior for wide or fragmented sets, and rebuild dependent data if representation changes. Prefer maintained core or application set representations when portability matters.