Re: implemented missing bitSetBit() and bitGetBit() - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: implemented missing bitSetBit() and bitGetBit()
Date
Msg-id 200402042051.33509.peter_e@gmx.net
Whole thread Raw
In response to Re: implemented missing bitSetBit() and bitGetBit()  (Neil Conway <neilc@samurai.com>)
Responses Re: implemented missing bitSetBit() and bitGetBit()  (David Helgason <david@uti.is>)
Re: implemented missing bitSetBit() and bitGetBit()  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-hackers
Neil Conway wrote:
> David Helgason <david@uti.is> writes:
> > I needed these, so I went and implemented them myself.
>
> I didn't see any followup to this: do we want to include this in the
> main tree, contrib/, or not at all?

getbit sounds a lot like what substring() does.  So perhaps setbit could 
actually be handled by replace()?  That would be a more general 
solution (since it would handle more than one bit at a time).



pgsql-hackers by date:

Previous
From: "Dann Corbit"
Date:
Subject: Re: implemented missing bitSetBit() and bitGetBit()
Next
From: Michael Brusser
Date:
Subject: Question on database backup