Re: bytea bitwise logical operations implementation (xor / and / or / not)

2018-01-21 Thread Craig Ringer
On 13 January 2018 at 01:57, Christian Rossow wrote: > Hi Fabien, > > > I think that the probability of getting these useful things into pg is > > alas small. In the mean time, you may package and register it as an > > extension? > I aimed to close the asymmetry

Re: bytea bitwise logical operations implementation (xor / and / or / not)

2018-01-11 Thread Fabien COELHO
Hello Christian, Currently, `bytea` does not have any bitwise logical operations yet. This issue came up in an old thread from 2006 [1], but nobody seemed to have picked this issue so far. I remember this one because I needed them for checksuming set of rows. There is a whole set of missing

bytea bitwise logical operations implementation (xor / and / or / not)

2018-01-11 Thread Christian Rossow
Hackers, Currently, `bytea` does not have any bitwise logical operations yet. This issue came up in an old thread from 2006 [1], but nobody seemed to have picked this issue so far. Being in the need for this myself, I copied the bit vector's bitwise logical operations and converted them to