pgbitmap

From: Marc Munro <marc(at)bloodnok(dot)com>
To: pgsql-announce(at)postgresql(dot)org
Subject: pgbitmap
Date: 2018-11-30 00:35:04
Message-ID: 1543538104.3026.42.camel@bloodnok.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-announce

Announcing the first alpha release of pgbitmap, a bitmap type extension
for postgres.

This extension creates a space-optimised, non-sparse, bitmap type for
postgres.

A bitmap is an array of bits, indexed by an integer.  Bitmaps provide
an efficient means to implement sets and provide operations for:

- creating new bitmaps;
- adding an element to a bitmap;
- removing an element from a bitmap;
- testing for inclusion of an element in a bitmap;
- finding the minimum and maximum bits in the bitmap;
- unioning bitmaps together (set union/logical or);
- intersecting bitmaps (set intersection/logical and);
- subtracting one bitmap from another;
- converting bitmaps to and from textual representations;
- converting bitmaps to and from arrays;
- aggregating bits, and bitmaps, into bitmaps.

It differs from the standard Postgres bitstring in that it isn't based
around bit zero (bitmap(1000000) does not contain 1,000,000 zeroes
followed by a 1), and it has more functionality.  See the homepage on
github for more.

It was developed primarily in order to efficiently manage sets of
privileges for Virtual Private Database implementations.

It is hosted on github and can be found here:

https://github.com/marcmunro/pgbitmap

__
Marc

Browse pgsql-announce by date

  From Date Subject
Next Message David Fetter 2018-12-02 22:50:37 == PostgreSQL Weekly News - December 2, 2018 ==
Previous Message Grigory Smolkin 2018-11-29 14:58:33 [ANNOUNCE] pg_probackup 2.0.25 released