new type: 1-byte bit mask type

From: Adriaan Joubert <a(dot)joubert(at)albourne(dot)com>
To: Postgres-General <pgsql-general(at)postgreSQL(dot)org>
Subject: new type: 1-byte bit mask type
Date: 1999-06-10 11:41:49
Message-ID: 375FA47D.612442AA@albourne.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi,

I finally finished my 1-byte bitmask type. You can even use it in btree
indexes now. It provides all the standard bit operations (& | ^ ~ << >>)
and I hope someone will find it useful. If anybody has any suggestions
for improvements or questions, please let me know. If it passes muster,
perhaps it could go into the contrib area of one of the next releases.

Oh, and you will note that the or-operator is defined as '||' instead of
'|' -- this is because postgres would not accept a single '|' as an
operator. This will hopefully change at some point in the future.

Adriaan

Attachment Content-Type Size
bit1.tar.gz application/x-gzip 4.6 KB

Browse pgsql-general by date

  From Date Subject
Next Message Anthony Brock 1999-06-10 16:52:19 Re: [GENERAL] IPC Problems - URGENT !
Previous Message Jeroen Schaap 1999-06-10 11:26:01 Re: [GENERAL] Howto convert arrays 2 query results