You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There's a basic implementation of the BIT and VARBIT types here. There’s also a B()-expression syntax thing for manipulating bit strings atomically; see these test cases for a short example.
The biggest problem, currently, is the implementation of custom query predicates based on the bitwise operators. Stuff like __xor, which I think would be really useful. Also, I’d love a query aggregate like popcount(), but apparently Postgres doesn’t even have that built-in.
Activity
zacharyvoase commentedon Aug 21, 2012
Happening.
Also happening:
Et cetera. I like
ExpressionNode
for this kind of stuff.alex commentedon Aug 21, 2012
Awesome, didn't see it noted in the "future" section, so I figured I'd bring it up.
zacharyvoase commentedon Aug 21, 2012
Yup. Seems easy enough to implement; I may be able to get it done this arvo.
zacharyvoase commentedon Aug 21, 2012
OK. Not that easy to implement.
There's a basic implementation of the
BIT
andVARBIT
types here. There’s also aB()
-expression syntax thing for manipulating bit strings atomically; see these test cases for a short example.The biggest problem, currently, is the implementation of custom query predicates based on the bitwise operators. Stuff like
__xor
, which I think would be really useful. Also, I’d love a query aggregate likepopcount()
, but apparently Postgres doesn’t even have that built-in.