bitwise logical operators

From: Maurice Balick <balm(at)smiley(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: bitwise logical operators
Date: 2001-03-13 20:16:59
Message-ID: 3AAE803B.2010107@smiley.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hello,

I've found one old request in the archives about providing bitwise AND
on integer types and nothing but the obvious 'modulo soup' answer. I
couldn't find anything in the TODO list either.

Is there any plan to add bitwise logical operators to Postgres? Or is
there a good reason never to have it? Using 32 boolean columns instead
of a single integer flag set seems very expensive - especially when you
end up loading the flags into an integer on the client side.

A 20/80 solution in my case would be a function to perform bitwise AND
on two integers.

Thanks.

--Maurice

Responses

Browse pgsql-general by date

  From Date Subject
Next Message KuroiNeko 2001-03-13 20:29:34 Re: bitwise logical operators
Previous Message Brent R. Matzelle 2001-03-13 19:25:46 Re: psql win32 version?